jamespot-user-api 1.0.174 → 1.0.175
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/Category.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/animations/animations.d.ts +3 -1
- package/lib/src/apis/animations/animations.mock.d.ts +3 -1
- package/lib/src/types/animations.d.ts +69 -2
- package/lib/src/types/assetReservation.d.ts +4 -4
- package/lib/src/types/autocomplete.d.ts +4 -4
- package/lib/src/types/comment.d.ts +12 -12
- package/lib/src/types/diapazone.d.ts +2 -2
- package/lib/src/types/global.d.ts +6 -6
- package/lib/src/types/meeting.d.ts +12 -12
- package/lib/src/types/model.d.ts +4 -1
- package/lib/src/types/pollSurvey.d.ts +4 -4
- package/lib/src/types/quizz.d.ts +8 -8
- package/lib/src/types/socialEvent.d.ts +8 -8
- package/lib/src/types/surveyDate.d.ts +8 -8
- package/lib/src/util/Test.d.ts +6 -6
- package/package.json +1 -1
- package/phpunitMock/objectListAnimationsStats-default.json +29 -0
- package/phpunitMock/objectListAnimationsStatsCurrent-default.json +20 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { JBaseApi } from '../base';
|
|
2
|
-
import { AnimationConfigurationType, ApiWrapper } from '../../types';
|
|
2
|
+
import { AnimationConfigurationType, AnimationStats, ApiWrapper, PagingResults } from '../../types';
|
|
3
3
|
export declare class JAnimationsApi extends JBaseApi {
|
|
4
4
|
SaveAnimationConfiguration(animation: Object): Promise<ApiWrapper<AnimationConfigurationType>>;
|
|
5
5
|
DeleteAnimation(): Promise<ApiWrapper<boolean>>;
|
|
@@ -7,4 +7,6 @@ export declare class JAnimationsApi extends JBaseApi {
|
|
|
7
7
|
GetCurrentAnimationApp(): Promise<ApiWrapper<AnimationConfigurationType | null>>;
|
|
8
8
|
ToggleAnimationActive(): Promise<ApiWrapper<boolean>>;
|
|
9
9
|
GetAnimationActive(): Promise<ApiWrapper<boolean>>;
|
|
10
|
+
GetAnimationStats(name: string): Promise<ApiWrapper<PagingResults<AnimationStats>>>;
|
|
11
|
+
GetAnimationStatsCurrent(uri: string): Promise<ApiWrapper<AnimationStats>>;
|
|
10
12
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AnimationConfigurationType, ApiWrapper } from '../../types';
|
|
1
|
+
import { AnimationConfigurationType, AnimationStats, ApiWrapper, PagingResults } from '../../types';
|
|
2
2
|
export declare const animationsSaveConfiguration: ApiWrapper<AnimationConfigurationType>;
|
|
3
3
|
export declare const animationsGetConfiguration: ApiWrapper<AnimationConfigurationType>;
|
|
4
4
|
export declare const animationsGetConfigurationWithoutMe: ApiWrapper<null>;
|
|
@@ -7,3 +7,5 @@ export declare const animationsGetConfigurationApp: ApiWrapper<AnimationConfigur
|
|
|
7
7
|
export declare const animationsGetConfigurationAppWithoutMeIn: ApiWrapper<AnimationConfigurationType>;
|
|
8
8
|
export declare const animationsGetAnimationActive: ApiWrapper<boolean>;
|
|
9
9
|
export declare const animationsToggleAnimationActive: ApiWrapper<boolean>;
|
|
10
|
+
export declare const animationsGetAnimationStats: ApiWrapper<PagingResults<AnimationStats>>;
|
|
11
|
+
export declare const animationsGetAnimationStatsCurrent: ApiWrapper<AnimationStats>;
|
|
@@ -9,15 +9,82 @@ export declare const animationConfigurationTypeSchema: z.ZodObject<{
|
|
|
9
9
|
audience: z.ZodArray<z.ZodString, "many">;
|
|
10
10
|
}, "strip", z.ZodTypeAny, {
|
|
11
11
|
name: "Celebration" | "Olympics" | "Maythefourth" | "Spring" | "MusicFestival" | "EasterEggs" | "CustomAnimation";
|
|
12
|
+
audience: string[];
|
|
12
13
|
activeClickEffect: number;
|
|
13
14
|
activeDecor: number;
|
|
14
15
|
auto: boolean;
|
|
15
|
-
audience: string[];
|
|
16
16
|
}, {
|
|
17
17
|
name: "Celebration" | "Olympics" | "Maythefourth" | "Spring" | "MusicFestival" | "EasterEggs" | "CustomAnimation";
|
|
18
|
+
audience: string[];
|
|
18
19
|
activeClickEffect: number;
|
|
19
20
|
activeDecor: number;
|
|
20
21
|
auto: boolean;
|
|
21
|
-
audience: string[];
|
|
22
22
|
}>;
|
|
23
23
|
export type AnimationConfigurationType = z.infer<typeof animationConfigurationTypeSchema>;
|
|
24
|
+
export declare const animationStatsRowSchema: z.ZodObject<{
|
|
25
|
+
date: z.ZodString;
|
|
26
|
+
number: z.ZodNumber;
|
|
27
|
+
}, "strip", z.ZodTypeAny, {
|
|
28
|
+
number: number;
|
|
29
|
+
date: string;
|
|
30
|
+
}, {
|
|
31
|
+
number: number;
|
|
32
|
+
date: string;
|
|
33
|
+
}>;
|
|
34
|
+
export type AnimationStatsRow = z.infer<typeof animationStatsRowSchema>;
|
|
35
|
+
export declare const animationStatsSchema: z.ZodObject<{
|
|
36
|
+
id: z.ZodNumber;
|
|
37
|
+
mainType: z.ZodString;
|
|
38
|
+
type: z.ZodString;
|
|
39
|
+
uri: z.ZodString;
|
|
40
|
+
dateCreation: z.ZodNullable<z.ZodString>;
|
|
41
|
+
dateModified: z.ZodNullable<z.ZodString>;
|
|
42
|
+
animationName: z.ZodString;
|
|
43
|
+
dateStart: z.ZodString;
|
|
44
|
+
dateEnd: z.ZodNullable<z.ZodString>;
|
|
45
|
+
auto: z.ZodBoolean;
|
|
46
|
+
stats: z.ZodArray<z.ZodObject<{
|
|
47
|
+
date: z.ZodString;
|
|
48
|
+
number: z.ZodNumber;
|
|
49
|
+
}, "strip", z.ZodTypeAny, {
|
|
50
|
+
number: number;
|
|
51
|
+
date: string;
|
|
52
|
+
}, {
|
|
53
|
+
number: number;
|
|
54
|
+
date: string;
|
|
55
|
+
}>, "many">;
|
|
56
|
+
animAudience: z.ZodArray<z.ZodString, "many">;
|
|
57
|
+
}, "strip", z.ZodTypeAny, {
|
|
58
|
+
type: string;
|
|
59
|
+
id: number;
|
|
60
|
+
mainType: string;
|
|
61
|
+
uri: string;
|
|
62
|
+
dateCreation: string | null;
|
|
63
|
+
dateModified: string | null;
|
|
64
|
+
auto: boolean;
|
|
65
|
+
animationName: string;
|
|
66
|
+
dateStart: string;
|
|
67
|
+
dateEnd: string | null;
|
|
68
|
+
stats: {
|
|
69
|
+
number: number;
|
|
70
|
+
date: string;
|
|
71
|
+
}[];
|
|
72
|
+
animAudience: string[];
|
|
73
|
+
}, {
|
|
74
|
+
type: string;
|
|
75
|
+
id: number;
|
|
76
|
+
mainType: string;
|
|
77
|
+
uri: string;
|
|
78
|
+
dateCreation: string | null;
|
|
79
|
+
dateModified: string | null;
|
|
80
|
+
auto: boolean;
|
|
81
|
+
animationName: string;
|
|
82
|
+
dateStart: string;
|
|
83
|
+
dateEnd: string | null;
|
|
84
|
+
stats: {
|
|
85
|
+
number: number;
|
|
86
|
+
date: string;
|
|
87
|
+
}[];
|
|
88
|
+
animAudience: string[];
|
|
89
|
+
}>;
|
|
90
|
+
export type AnimationStats = z.infer<typeof animationStatsSchema>;
|
|
@@ -4958,6 +4958,8 @@ export declare const reservationListSchema: z.ZodObject<{
|
|
|
4958
4958
|
dateModified: string;
|
|
4959
4959
|
};
|
|
4960
4960
|
_right: import("./common").Rights;
|
|
4961
|
+
dateStart: string;
|
|
4962
|
+
dateEnd: string;
|
|
4961
4963
|
_audience: (import("./user").jUserLittle | {
|
|
4962
4964
|
type: string;
|
|
4963
4965
|
id: number;
|
|
@@ -4970,8 +4972,6 @@ export declare const reservationListSchema: z.ZodObject<{
|
|
|
4970
4972
|
category: number;
|
|
4971
4973
|
privacy: number;
|
|
4972
4974
|
})[];
|
|
4973
|
-
dateStart: string;
|
|
4974
|
-
dateEnd: string;
|
|
4975
4975
|
reservationCancelled: boolean;
|
|
4976
4976
|
_asset: {
|
|
4977
4977
|
type: string;
|
|
@@ -5306,6 +5306,8 @@ export declare const reservationListSchema: z.ZodObject<{
|
|
|
5306
5306
|
dateModified: string;
|
|
5307
5307
|
};
|
|
5308
5308
|
_right: import("./common").Rights;
|
|
5309
|
+
dateStart: string;
|
|
5310
|
+
dateEnd: string;
|
|
5309
5311
|
_audience: (import("./user").jUserLittle | {
|
|
5310
5312
|
type: string;
|
|
5311
5313
|
id: number;
|
|
@@ -5318,8 +5320,6 @@ export declare const reservationListSchema: z.ZodObject<{
|
|
|
5318
5320
|
category: number;
|
|
5319
5321
|
privacy: number;
|
|
5320
5322
|
})[];
|
|
5321
|
-
dateStart: string;
|
|
5322
|
-
dateEnd: string;
|
|
5323
5323
|
reservationCancelled: boolean;
|
|
5324
5324
|
_asset: {
|
|
5325
5325
|
type: string;
|
|
@@ -316,12 +316,12 @@ export declare const communitySchema: z.ZodObject<{
|
|
|
316
316
|
title: string;
|
|
317
317
|
_url: string;
|
|
318
318
|
image: string;
|
|
319
|
-
isTechnical: number;
|
|
320
|
-
isMember: boolean;
|
|
321
319
|
stats: {
|
|
322
320
|
moderators: number;
|
|
323
321
|
members: string;
|
|
324
322
|
};
|
|
323
|
+
isTechnical: number;
|
|
324
|
+
isMember: boolean;
|
|
325
325
|
_members: import("./objectBase").jObjectLittle[];
|
|
326
326
|
dateCreation?: string | undefined;
|
|
327
327
|
dateModified?: string | null | undefined;
|
|
@@ -334,12 +334,12 @@ export declare const communitySchema: z.ZodObject<{
|
|
|
334
334
|
title: string;
|
|
335
335
|
_url: string;
|
|
336
336
|
image: string;
|
|
337
|
-
isTechnical: number;
|
|
338
|
-
isMember: boolean;
|
|
339
337
|
stats: {
|
|
340
338
|
moderators: number;
|
|
341
339
|
members: string;
|
|
342
340
|
};
|
|
341
|
+
isTechnical: number;
|
|
342
|
+
isMember: boolean;
|
|
343
343
|
_members: import("./objectBase").jObjectLittle[];
|
|
344
344
|
dateCreation?: string | undefined;
|
|
345
345
|
dateModified?: string | null | undefined;
|
|
@@ -166,12 +166,12 @@ export declare const jCommentListSchema: z.ZodObject<{
|
|
|
166
166
|
}, "strip", z.ZodTypeAny, {
|
|
167
167
|
type: string;
|
|
168
168
|
label: string;
|
|
169
|
-
cssClass: string;
|
|
170
|
-
cssColor: string;
|
|
171
|
-
class: string;
|
|
172
169
|
stats: {
|
|
173
170
|
total: number;
|
|
174
171
|
};
|
|
172
|
+
cssClass: string;
|
|
173
|
+
cssColor: string;
|
|
174
|
+
class: string;
|
|
175
175
|
isActive: boolean;
|
|
176
176
|
struct: {
|
|
177
177
|
type: string;
|
|
@@ -183,12 +183,12 @@ export declare const jCommentListSchema: z.ZodObject<{
|
|
|
183
183
|
}, {
|
|
184
184
|
type: string;
|
|
185
185
|
label: string;
|
|
186
|
-
cssClass: string;
|
|
187
|
-
cssColor: string;
|
|
188
|
-
class: string;
|
|
189
186
|
stats: {
|
|
190
187
|
total: number;
|
|
191
188
|
};
|
|
189
|
+
cssClass: string;
|
|
190
|
+
cssColor: string;
|
|
191
|
+
class: string;
|
|
192
192
|
isActive: boolean;
|
|
193
193
|
struct: {
|
|
194
194
|
type: string;
|
|
@@ -966,12 +966,12 @@ export declare const jCommentListSchema: z.ZodObject<{
|
|
|
966
966
|
_actions?: Record<string, {
|
|
967
967
|
type: string;
|
|
968
968
|
label: string;
|
|
969
|
-
cssClass: string;
|
|
970
|
-
cssColor: string;
|
|
971
|
-
class: string;
|
|
972
969
|
stats: {
|
|
973
970
|
total: number;
|
|
974
971
|
};
|
|
972
|
+
cssClass: string;
|
|
973
|
+
cssColor: string;
|
|
974
|
+
class: string;
|
|
975
975
|
isActive: boolean;
|
|
976
976
|
struct: {
|
|
977
977
|
type: string;
|
|
@@ -1150,12 +1150,12 @@ export declare const jCommentListSchema: z.ZodObject<{
|
|
|
1150
1150
|
_actions?: Record<string, {
|
|
1151
1151
|
type: string;
|
|
1152
1152
|
label: string;
|
|
1153
|
-
cssClass: string;
|
|
1154
|
-
cssColor: string;
|
|
1155
|
-
class: string;
|
|
1156
1153
|
stats: {
|
|
1157
1154
|
total: number;
|
|
1158
1155
|
};
|
|
1156
|
+
cssClass: string;
|
|
1157
|
+
cssColor: string;
|
|
1158
|
+
class: string;
|
|
1159
1159
|
isActive: boolean;
|
|
1160
1160
|
struct: {
|
|
1161
1161
|
type: string;
|
|
@@ -122,6 +122,7 @@ export declare const jDiapazoneListSchema: z.ZodObject<{
|
|
|
122
122
|
dateModified: string;
|
|
123
123
|
};
|
|
124
124
|
_right: import("./common").Rights;
|
|
125
|
+
dateStart: string;
|
|
125
126
|
_audience: (import("./user").jUserLittle | {
|
|
126
127
|
type: string;
|
|
127
128
|
id: number;
|
|
@@ -134,7 +135,6 @@ export declare const jDiapazoneListSchema: z.ZodObject<{
|
|
|
134
135
|
category: number;
|
|
135
136
|
privacy: number;
|
|
136
137
|
})[];
|
|
137
|
-
dateStart: string;
|
|
138
138
|
animatedMeetingContent: Record<string, unknown>;
|
|
139
139
|
_audienceLeft: number;
|
|
140
140
|
dateCreation?: string | undefined;
|
|
@@ -162,6 +162,7 @@ export declare const jDiapazoneListSchema: z.ZodObject<{
|
|
|
162
162
|
dateModified: string;
|
|
163
163
|
};
|
|
164
164
|
_right: import("./common").Rights;
|
|
165
|
+
dateStart: string;
|
|
165
166
|
_audience: (import("./user").jUserLittle | {
|
|
166
167
|
type: string;
|
|
167
168
|
id: number;
|
|
@@ -174,7 +175,6 @@ export declare const jDiapazoneListSchema: z.ZodObject<{
|
|
|
174
175
|
category: number;
|
|
175
176
|
privacy: number;
|
|
176
177
|
})[];
|
|
177
|
-
dateStart: string;
|
|
178
178
|
animatedMeetingContent: Record<string, unknown>;
|
|
179
179
|
_audienceLeft: number;
|
|
180
180
|
dateCreation?: string | undefined;
|
|
@@ -37,12 +37,12 @@ export declare const socialActionSchema: z.ZodObject<{
|
|
|
37
37
|
}, "strip", z.ZodTypeAny, {
|
|
38
38
|
type: string;
|
|
39
39
|
label: string;
|
|
40
|
-
cssClass: string;
|
|
41
|
-
cssColor: string;
|
|
42
|
-
class: string;
|
|
43
40
|
stats: {
|
|
44
41
|
total: number;
|
|
45
42
|
};
|
|
43
|
+
cssClass: string;
|
|
44
|
+
cssColor: string;
|
|
45
|
+
class: string;
|
|
46
46
|
isActive: boolean;
|
|
47
47
|
struct: {
|
|
48
48
|
type: string;
|
|
@@ -54,12 +54,12 @@ export declare const socialActionSchema: z.ZodObject<{
|
|
|
54
54
|
}, {
|
|
55
55
|
type: string;
|
|
56
56
|
label: string;
|
|
57
|
-
cssClass: string;
|
|
58
|
-
cssColor: string;
|
|
59
|
-
class: string;
|
|
60
57
|
stats: {
|
|
61
58
|
total: number;
|
|
62
59
|
};
|
|
60
|
+
cssClass: string;
|
|
61
|
+
cssColor: string;
|
|
62
|
+
class: string;
|
|
63
63
|
isActive: boolean;
|
|
64
64
|
struct: {
|
|
65
65
|
type: string;
|
|
@@ -46,6 +46,8 @@ export declare const jMeetingListSchema: z.ZodObject<{
|
|
|
46
46
|
comment: z.ZodType<boolean, z.ZodTypeDef, boolean>;
|
|
47
47
|
member: z.ZodType<boolean, z.ZodTypeDef, boolean>;
|
|
48
48
|
}, "strip", z.ZodTypeAny, import("./common").Rights, import("./common").Rights>;
|
|
49
|
+
dateStart: z.ZodString;
|
|
50
|
+
dateEnd: z.ZodString;
|
|
49
51
|
_audience: z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
50
52
|
type: z.ZodType<string, z.ZodTypeDef, string>;
|
|
51
53
|
id: z.ZodType<number, z.ZodTypeDef, number>;
|
|
@@ -829,8 +831,6 @@ export declare const jMeetingListSchema: z.ZodObject<{
|
|
|
829
831
|
};
|
|
830
832
|
});
|
|
831
833
|
}>, "many">>;
|
|
832
|
-
dateStart: z.ZodString;
|
|
833
|
-
dateEnd: z.ZodString;
|
|
834
834
|
address: z.ZodString;
|
|
835
835
|
noGestion: z.ZodBoolean;
|
|
836
836
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -853,6 +853,8 @@ export declare const jMeetingListSchema: z.ZodObject<{
|
|
|
853
853
|
dateModified: string;
|
|
854
854
|
};
|
|
855
855
|
_right: import("./common").Rights;
|
|
856
|
+
dateStart: string;
|
|
857
|
+
dateEnd: string;
|
|
856
858
|
_audience: (import("./user").jUserLittle | {
|
|
857
859
|
type: string;
|
|
858
860
|
id: number;
|
|
@@ -865,8 +867,6 @@ export declare const jMeetingListSchema: z.ZodObject<{
|
|
|
865
867
|
category: number;
|
|
866
868
|
privacy: number;
|
|
867
869
|
})[];
|
|
868
|
-
dateStart: string;
|
|
869
|
-
dateEnd: string;
|
|
870
870
|
address: string;
|
|
871
871
|
noGestion: boolean;
|
|
872
872
|
description?: string | null | undefined;
|
|
@@ -1029,6 +1029,8 @@ export declare const jMeetingListSchema: z.ZodObject<{
|
|
|
1029
1029
|
dateModified: string;
|
|
1030
1030
|
};
|
|
1031
1031
|
_right: import("./common").Rights;
|
|
1032
|
+
dateStart: string;
|
|
1033
|
+
dateEnd: string;
|
|
1032
1034
|
_audience: (import("./user").jUserLittle | {
|
|
1033
1035
|
type: string;
|
|
1034
1036
|
id: number;
|
|
@@ -1041,8 +1043,6 @@ export declare const jMeetingListSchema: z.ZodObject<{
|
|
|
1041
1043
|
category: number;
|
|
1042
1044
|
privacy: number;
|
|
1043
1045
|
})[];
|
|
1044
|
-
dateStart: string;
|
|
1045
|
-
dateEnd: string;
|
|
1046
1046
|
address: string;
|
|
1047
1047
|
noGestion: boolean;
|
|
1048
1048
|
description?: string | null | undefined;
|
|
@@ -2810,6 +2810,8 @@ export declare const jMeetingViewSchema: z.ZodIntersection<z.ZodIntersection<z.Z
|
|
|
2810
2810
|
comment: z.ZodType<boolean, z.ZodTypeDef, boolean>;
|
|
2811
2811
|
member: z.ZodType<boolean, z.ZodTypeDef, boolean>;
|
|
2812
2812
|
}, "strip", z.ZodTypeAny, import("./common").Rights, import("./common").Rights>;
|
|
2813
|
+
dateStart: z.ZodString;
|
|
2814
|
+
dateEnd: z.ZodString;
|
|
2813
2815
|
_audience: z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
2814
2816
|
type: z.ZodType<string, z.ZodTypeDef, string>;
|
|
2815
2817
|
id: z.ZodType<number, z.ZodTypeDef, number>;
|
|
@@ -3593,8 +3595,6 @@ export declare const jMeetingViewSchema: z.ZodIntersection<z.ZodIntersection<z.Z
|
|
|
3593
3595
|
};
|
|
3594
3596
|
});
|
|
3595
3597
|
}>, "many">>;
|
|
3596
|
-
dateStart: z.ZodString;
|
|
3597
|
-
dateEnd: z.ZodString;
|
|
3598
3598
|
address: z.ZodString;
|
|
3599
3599
|
noGestion: z.ZodBoolean;
|
|
3600
3600
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -3617,6 +3617,8 @@ export declare const jMeetingViewSchema: z.ZodIntersection<z.ZodIntersection<z.Z
|
|
|
3617
3617
|
dateModified: string;
|
|
3618
3618
|
};
|
|
3619
3619
|
_right: import("./common").Rights;
|
|
3620
|
+
dateStart: string;
|
|
3621
|
+
dateEnd: string;
|
|
3620
3622
|
_audience: (import("./user").jUserLittle | {
|
|
3621
3623
|
type: string;
|
|
3622
3624
|
id: number;
|
|
@@ -3629,8 +3631,6 @@ export declare const jMeetingViewSchema: z.ZodIntersection<z.ZodIntersection<z.Z
|
|
|
3629
3631
|
category: number;
|
|
3630
3632
|
privacy: number;
|
|
3631
3633
|
})[];
|
|
3632
|
-
dateStart: string;
|
|
3633
|
-
dateEnd: string;
|
|
3634
3634
|
address: string;
|
|
3635
3635
|
noGestion: boolean;
|
|
3636
3636
|
description?: string | null | undefined;
|
|
@@ -3793,6 +3793,8 @@ export declare const jMeetingViewSchema: z.ZodIntersection<z.ZodIntersection<z.Z
|
|
|
3793
3793
|
dateModified: string;
|
|
3794
3794
|
};
|
|
3795
3795
|
_right: import("./common").Rights;
|
|
3796
|
+
dateStart: string;
|
|
3797
|
+
dateEnd: string;
|
|
3796
3798
|
_audience: (import("./user").jUserLittle | {
|
|
3797
3799
|
type: string;
|
|
3798
3800
|
id: number;
|
|
@@ -3805,8 +3807,6 @@ export declare const jMeetingViewSchema: z.ZodIntersection<z.ZodIntersection<z.Z
|
|
|
3805
3807
|
category: number;
|
|
3806
3808
|
privacy: number;
|
|
3807
3809
|
})[];
|
|
3808
|
-
dateStart: string;
|
|
3809
|
-
dateEnd: string;
|
|
3810
3810
|
address: string;
|
|
3811
3811
|
noGestion: boolean;
|
|
3812
3812
|
description?: string | null | undefined;
|
package/lib/src/types/model.d.ts
CHANGED
|
@@ -36,6 +36,9 @@ export type WidgetDatePicker = {
|
|
|
36
36
|
};
|
|
37
37
|
export declare const widgetDatePickerValueSchema: z.ZodNullable<z.ZodString>;
|
|
38
38
|
export declare const widgetActiveValueSchema: z.ZodNumber;
|
|
39
|
+
export type WidgetAudience = {
|
|
40
|
+
type: 'audience';
|
|
41
|
+
};
|
|
39
42
|
export type WidgetLink = {
|
|
40
43
|
type: 'link';
|
|
41
44
|
};
|
|
@@ -113,7 +116,7 @@ export type WidgetUri = {
|
|
|
113
116
|
type: string;
|
|
114
117
|
};
|
|
115
118
|
};
|
|
116
|
-
export type Widget = WidgetText | WidgetTextarea | WidgetNumber | WidgetDate | WidgetDatetime | WidgetDatePicker | WidgetSelect | WidgetEmbed | WidgetEmail | WidgetUrl | WidgetRefUser | WidgetRadio | WidgetCheckbox | WidgetOrientedlinks | WidgetTaxonomy | WidgetUri | WidgetTransient | WidgetMultiattribute | WidgetTel | WidgetPlace | WidgetColor | WidgetLink | WidgetFile;
|
|
119
|
+
export type Widget = WidgetText | WidgetTextarea | WidgetNumber | WidgetDate | WidgetDatetime | WidgetDatePicker | WidgetSelect | WidgetEmbed | WidgetEmail | WidgetUrl | WidgetRefUser | WidgetRadio | WidgetCheckbox | WidgetOrientedlinks | WidgetTaxonomy | WidgetUri | WidgetTransient | WidgetMultiattribute | WidgetTel | WidgetPlace | WidgetColor | WidgetLink | WidgetFile | WidgetAudience;
|
|
117
120
|
export declare const widgetsValueSchema: 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]>;
|
|
118
121
|
export type WidgetsValue = z.infer<typeof widgetsValueSchema>;
|
|
119
122
|
export type FieldConfiguration<T extends string = string> = {
|
|
@@ -879,6 +879,7 @@ export declare const jPollSurveyListSchema: z.ZodObject<{
|
|
|
879
879
|
dateModified: string;
|
|
880
880
|
};
|
|
881
881
|
_right: import("./common").Rights;
|
|
882
|
+
dateEnd: string;
|
|
882
883
|
_audience: (import("./user").jUserLittle | {
|
|
883
884
|
type: string;
|
|
884
885
|
id: number;
|
|
@@ -891,7 +892,6 @@ export declare const jPollSurveyListSchema: z.ZodObject<{
|
|
|
891
892
|
category: number;
|
|
892
893
|
privacy: number;
|
|
893
894
|
})[];
|
|
894
|
-
dateEnd: string;
|
|
895
895
|
anonymousResponse: null;
|
|
896
896
|
multipleResponse: number;
|
|
897
897
|
publicResults: null;
|
|
@@ -1064,6 +1064,7 @@ export declare const jPollSurveyListSchema: z.ZodObject<{
|
|
|
1064
1064
|
dateModified: string;
|
|
1065
1065
|
};
|
|
1066
1066
|
_right: import("./common").Rights;
|
|
1067
|
+
dateEnd: string;
|
|
1067
1068
|
_audience: (import("./user").jUserLittle | {
|
|
1068
1069
|
type: string;
|
|
1069
1070
|
id: number;
|
|
@@ -1076,7 +1077,6 @@ export declare const jPollSurveyListSchema: z.ZodObject<{
|
|
|
1076
1077
|
category: number;
|
|
1077
1078
|
privacy: number;
|
|
1078
1079
|
})[];
|
|
1079
|
-
dateEnd: string;
|
|
1080
1080
|
anonymousResponse: null;
|
|
1081
1081
|
multipleResponse: number;
|
|
1082
1082
|
publicResults: null;
|
|
@@ -3684,6 +3684,7 @@ export declare const jPollSurveyViewSchema: z.ZodIntersection<z.ZodIntersection<
|
|
|
3684
3684
|
dateModified: string;
|
|
3685
3685
|
};
|
|
3686
3686
|
_right: import("./common").Rights;
|
|
3687
|
+
dateEnd: string;
|
|
3687
3688
|
_audience: (import("./user").jUserLittle | {
|
|
3688
3689
|
type: string;
|
|
3689
3690
|
id: number;
|
|
@@ -3696,7 +3697,6 @@ export declare const jPollSurveyViewSchema: z.ZodIntersection<z.ZodIntersection<
|
|
|
3696
3697
|
category: number;
|
|
3697
3698
|
privacy: number;
|
|
3698
3699
|
})[];
|
|
3699
|
-
dateEnd: string;
|
|
3700
3700
|
anonymousResponse: null;
|
|
3701
3701
|
multipleResponse: number;
|
|
3702
3702
|
publicResults: null;
|
|
@@ -3869,6 +3869,7 @@ export declare const jPollSurveyViewSchema: z.ZodIntersection<z.ZodIntersection<
|
|
|
3869
3869
|
dateModified: string;
|
|
3870
3870
|
};
|
|
3871
3871
|
_right: import("./common").Rights;
|
|
3872
|
+
dateEnd: string;
|
|
3872
3873
|
_audience: (import("./user").jUserLittle | {
|
|
3873
3874
|
type: string;
|
|
3874
3875
|
id: number;
|
|
@@ -3881,7 +3882,6 @@ export declare const jPollSurveyViewSchema: z.ZodIntersection<z.ZodIntersection<
|
|
|
3881
3882
|
category: number;
|
|
3882
3883
|
privacy: number;
|
|
3883
3884
|
})[];
|
|
3884
|
-
dateEnd: string;
|
|
3885
3885
|
anonymousResponse: null;
|
|
3886
3886
|
multipleResponse: number;
|
|
3887
3887
|
publicResults: null;
|
package/lib/src/types/quizz.d.ts
CHANGED
|
@@ -851,6 +851,8 @@ export declare const jQuizzListSchema: z.ZodObject<{
|
|
|
851
851
|
dateModified: string;
|
|
852
852
|
};
|
|
853
853
|
_right: import("./common").Rights;
|
|
854
|
+
dateStart: string | null;
|
|
855
|
+
dateEnd: string | null;
|
|
854
856
|
_audience: (import("./user").jUserLittle | {
|
|
855
857
|
type: string;
|
|
856
858
|
id: number;
|
|
@@ -863,8 +865,6 @@ export declare const jQuizzListSchema: z.ZodObject<{
|
|
|
863
865
|
category: number;
|
|
864
866
|
privacy: number;
|
|
865
867
|
})[];
|
|
866
|
-
dateStart: string | null;
|
|
867
|
-
dateEnd: string | null;
|
|
868
868
|
quizzDescription: string | null;
|
|
869
869
|
quizzClosingDate: string | null;
|
|
870
870
|
description?: string | null | undefined;
|
|
@@ -1026,6 +1026,8 @@ export declare const jQuizzListSchema: z.ZodObject<{
|
|
|
1026
1026
|
dateModified: string;
|
|
1027
1027
|
};
|
|
1028
1028
|
_right: import("./common").Rights;
|
|
1029
|
+
dateStart: string | null;
|
|
1030
|
+
dateEnd: string | null;
|
|
1029
1031
|
_audience: (import("./user").jUserLittle | {
|
|
1030
1032
|
type: string;
|
|
1031
1033
|
id: number;
|
|
@@ -1038,8 +1040,6 @@ export declare const jQuizzListSchema: z.ZodObject<{
|
|
|
1038
1040
|
category: number;
|
|
1039
1041
|
privacy: number;
|
|
1040
1042
|
})[];
|
|
1041
|
-
dateStart: string | null;
|
|
1042
|
-
dateEnd: string | null;
|
|
1043
1043
|
quizzDescription: string | null;
|
|
1044
1044
|
quizzClosingDate: string | null;
|
|
1045
1045
|
description?: string | null | undefined;
|
|
@@ -3612,6 +3612,8 @@ export declare const jQuizzViewSchema: z.ZodIntersection<z.ZodIntersection<z.Zod
|
|
|
3612
3612
|
dateModified: string;
|
|
3613
3613
|
};
|
|
3614
3614
|
_right: import("./common").Rights;
|
|
3615
|
+
dateStart: string | null;
|
|
3616
|
+
dateEnd: string | null;
|
|
3615
3617
|
_audience: (import("./user").jUserLittle | {
|
|
3616
3618
|
type: string;
|
|
3617
3619
|
id: number;
|
|
@@ -3624,8 +3626,6 @@ export declare const jQuizzViewSchema: z.ZodIntersection<z.ZodIntersection<z.Zod
|
|
|
3624
3626
|
category: number;
|
|
3625
3627
|
privacy: number;
|
|
3626
3628
|
})[];
|
|
3627
|
-
dateStart: string | null;
|
|
3628
|
-
dateEnd: string | null;
|
|
3629
3629
|
quizzDescription: string | null;
|
|
3630
3630
|
quizzClosingDate: string | null;
|
|
3631
3631
|
description?: string | null | undefined;
|
|
@@ -3787,6 +3787,8 @@ export declare const jQuizzViewSchema: z.ZodIntersection<z.ZodIntersection<z.Zod
|
|
|
3787
3787
|
dateModified: string;
|
|
3788
3788
|
};
|
|
3789
3789
|
_right: import("./common").Rights;
|
|
3790
|
+
dateStart: string | null;
|
|
3791
|
+
dateEnd: string | null;
|
|
3790
3792
|
_audience: (import("./user").jUserLittle | {
|
|
3791
3793
|
type: string;
|
|
3792
3794
|
id: number;
|
|
@@ -3799,8 +3801,6 @@ export declare const jQuizzViewSchema: z.ZodIntersection<z.ZodIntersection<z.Zod
|
|
|
3799
3801
|
category: number;
|
|
3800
3802
|
privacy: number;
|
|
3801
3803
|
})[];
|
|
3802
|
-
dateStart: string | null;
|
|
3803
|
-
dateEnd: string | null;
|
|
3804
3804
|
quizzDescription: string | null;
|
|
3805
3805
|
quizzClosingDate: string | null;
|
|
3806
3806
|
description?: string | null | undefined;
|
|
@@ -853,6 +853,8 @@ export declare const jSocialEventListSchema: z.ZodObject<{
|
|
|
853
853
|
dateModified: string;
|
|
854
854
|
};
|
|
855
855
|
_right: import("./common").Rights;
|
|
856
|
+
dateStart: string;
|
|
857
|
+
dateEnd: string;
|
|
856
858
|
_audience: (import("./user").jUserLittle | {
|
|
857
859
|
type: string;
|
|
858
860
|
id: number;
|
|
@@ -865,8 +867,6 @@ export declare const jSocialEventListSchema: z.ZodObject<{
|
|
|
865
867
|
category: number;
|
|
866
868
|
privacy: number;
|
|
867
869
|
})[];
|
|
868
|
-
dateStart: string;
|
|
869
|
-
dateEnd: string;
|
|
870
870
|
address: string;
|
|
871
871
|
noGestion: boolean;
|
|
872
872
|
description?: string | null | undefined;
|
|
@@ -1029,6 +1029,8 @@ export declare const jSocialEventListSchema: z.ZodObject<{
|
|
|
1029
1029
|
dateModified: string;
|
|
1030
1030
|
};
|
|
1031
1031
|
_right: import("./common").Rights;
|
|
1032
|
+
dateStart: string;
|
|
1033
|
+
dateEnd: string;
|
|
1032
1034
|
_audience: (import("./user").jUserLittle | {
|
|
1033
1035
|
type: string;
|
|
1034
1036
|
id: number;
|
|
@@ -1041,8 +1043,6 @@ export declare const jSocialEventListSchema: z.ZodObject<{
|
|
|
1041
1043
|
category: number;
|
|
1042
1044
|
privacy: number;
|
|
1043
1045
|
})[];
|
|
1044
|
-
dateStart: string;
|
|
1045
|
-
dateEnd: string;
|
|
1046
1046
|
address: string;
|
|
1047
1047
|
noGestion: boolean;
|
|
1048
1048
|
description?: string | null | undefined;
|
|
@@ -3617,6 +3617,8 @@ export declare const jSocialEventViewSchema: z.ZodIntersection<z.ZodIntersection
|
|
|
3617
3617
|
dateModified: string;
|
|
3618
3618
|
};
|
|
3619
3619
|
_right: import("./common").Rights;
|
|
3620
|
+
dateStart: string;
|
|
3621
|
+
dateEnd: string;
|
|
3620
3622
|
_audience: (import("./user").jUserLittle | {
|
|
3621
3623
|
type: string;
|
|
3622
3624
|
id: number;
|
|
@@ -3629,8 +3631,6 @@ export declare const jSocialEventViewSchema: z.ZodIntersection<z.ZodIntersection
|
|
|
3629
3631
|
category: number;
|
|
3630
3632
|
privacy: number;
|
|
3631
3633
|
})[];
|
|
3632
|
-
dateStart: string;
|
|
3633
|
-
dateEnd: string;
|
|
3634
3634
|
address: string;
|
|
3635
3635
|
noGestion: boolean;
|
|
3636
3636
|
description?: string | null | undefined;
|
|
@@ -3793,6 +3793,8 @@ export declare const jSocialEventViewSchema: z.ZodIntersection<z.ZodIntersection
|
|
|
3793
3793
|
dateModified: string;
|
|
3794
3794
|
};
|
|
3795
3795
|
_right: import("./common").Rights;
|
|
3796
|
+
dateStart: string;
|
|
3797
|
+
dateEnd: string;
|
|
3796
3798
|
_audience: (import("./user").jUserLittle | {
|
|
3797
3799
|
type: string;
|
|
3798
3800
|
id: number;
|
|
@@ -3805,8 +3807,6 @@ export declare const jSocialEventViewSchema: z.ZodIntersection<z.ZodIntersection
|
|
|
3805
3807
|
category: number;
|
|
3806
3808
|
privacy: number;
|
|
3807
3809
|
})[];
|
|
3808
|
-
dateStart: string;
|
|
3809
|
-
dateEnd: string;
|
|
3810
3810
|
address: string;
|
|
3811
3811
|
noGestion: boolean;
|
|
3812
3812
|
description?: string | null | undefined;
|