jamespot-user-api 1.0.165 → 1.0.167
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/documentation/assets/search.js +1 -1
- package/documentation/classes/AdminLicenseApi.html +11 -11
- 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 +2 -2
- package/documentation/classes/JBaseApi.html +1 -1
- package/documentation/classes/JBbbApi.html +1 -0
- package/documentation/classes/JBookmarkApi.html +1 -1
- package/documentation/classes/JBusinessNetworkingApi.html +1 -1
- package/documentation/classes/JCommunityApi.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 +14 -14
- 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/Format.html +1 -0
- package/documentation/enums/GroupModerateStatus.html +1 -1
- package/documentation/enums/StudioApplicationStatus.html +1 -1
- package/documentation/enums/WidgetsName.html +1 -0
- package/documentation/index.html +1 -1
- package/documentation/interfaces/AccessRightObject.html +1 -1
- package/documentation/interfaces/AdminLicenseUser.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/ObjectListProps.html +1 -1
- package/documentation/interfaces/PagingResults.html +1 -1
- package/documentation/interfaces/RootFolderProps.html +1 -1
- package/documentation/interfaces/SearchCategoryModel.html +1 -1
- package/documentation/interfaces/SearchCategoryValue.html +1 -1
- package/documentation/interfaces/SearchConfig.html +1 -1
- package/documentation/interfaces/SearchFacetModel.html +1 -1
- package/documentation/interfaces/SearchFacetValueModel.html +1 -1
- package/documentation/interfaces/SearchQuery.html +1 -1
- package/documentation/interfaces/SearchQueryFilterModel.html +1 -1
- package/documentation/interfaces/SearchQueryOption.html +1 -1
- package/documentation/interfaces/SearchQueryResult.html +1 -1
- package/documentation/interfaces/SearchQuerySortModel.html +1 -1
- package/documentation/interfaces/SearchResultCatProps.html +1 -1
- package/documentation/interfaces/SearchResultPropsApp.html +1 -1
- package/documentation/interfaces/SearchResultPropsObject.html +1 -1
- package/documentation/interfaces/SpotProps.html +1 -1
- package/documentation/interfaces/TaxonomyCreate.html +1 -1
- package/documentation/interfaces/WidgetType.html +1 -0
- package/documentation/interfaces/WindowInterface.html +1 -1
- package/documentation/modules.html +8 -12
- package/jest.config.ts +3 -2
- package/lib/jamespot-user-api.js +1 -1
- package/lib/jamespot-user-api.js.map +1 -1
- package/lib/jest.config.d.ts +1 -0
- package/lib/jest.config.vm.d.ts +1 -0
- package/lib/src/apis/accessibility/accessibility.d.ts +5 -0
- package/lib/src/apis/accessibility/accessibility.mock.d.ts +2 -0
- package/lib/src/apis/accessibility/accessibility.test.d.ts +1 -0
- package/lib/src/apis/article/article.d.ts +10 -7
- package/lib/src/apis/assetReservation/assetReservation.d.ts +4 -4
- package/lib/src/apis/bbb/bbb.d.ts +7 -0
- package/lib/src/apis/bbb/bbb.mock.d.ts +3 -0
- package/lib/src/apis/bbb/bbb.test.d.ts +1 -0
- package/lib/src/apis/bookmark/bookmark.d.ts +11 -11
- package/lib/src/apis/businessNetworking/businessNetworking.d.ts +2 -2
- package/lib/src/apis/community.d.ts +2 -2
- package/lib/src/apis/faq/faq.d.ts +15 -15
- package/lib/src/apis/file/file.d.ts +4 -4
- package/lib/src/apis/group/group.d.ts +18 -5
- package/lib/src/apis/index.d.ts +1 -0
- package/lib/src/apis/jamespotUserApi.d.ts +4 -0
- package/lib/src/apis/mediaLibrary/mediaLibrary.d.ts +1 -1
- package/lib/src/apis/search/search.d.ts +5 -2
- package/lib/src/apis/socialAction/socialAction.d.ts +4 -4
- package/lib/src/apis/taxonomy/taxonomy.d.ts +26 -2
- package/lib/src/apis/taxonomy/types.d.ts +2 -2
- package/lib/src/apis/user/user.d.ts +937 -8
- package/lib/src/apis/user/user.mock.d.ts +3 -2
- package/lib/src/types/article.d.ts +152945 -48
- package/lib/src/types/asei.d.ts +1 -1
- package/lib/src/types/assetReservation.d.ts +1 -1
- package/lib/src/types/autocomplete.d.ts +261 -9
- package/lib/src/types/bbb.d.ts +39 -0
- package/lib/src/types/businessContact.d.ts +18 -0
- package/lib/src/types/faq.d.ts +4 -5
- package/lib/src/types/file.d.ts +2 -2
- package/lib/src/types/group.d.ts +34 -5
- package/lib/src/types/hook.d.ts +6 -6
- package/lib/src/types/index.d.ts +2 -0
- package/lib/src/types/mediaLibrary.d.ts +2 -2
- package/lib/src/types/meeting.d.ts +1 -1
- package/lib/src/types/pollSurvey.d.ts +1 -1
- package/lib/src/types/quizz.d.ts +1 -1
- package/lib/src/types/search.d.ts +2 -1
- package/lib/src/types/socialEvent.d.ts +1 -1
- package/lib/src/types/support.d.ts +1 -1
- package/lib/src/types/surveyDate.d.ts +1 -1
- package/lib/src/types/tvDisplay.d.ts +2 -2
- package/lib/src/types/user.d.ts +0 -114
- package/lib/src/types/utils.d.ts +330 -55
- package/lib/src/types/widgets.d.ts +94410 -227
- package/lib/src/util/Test.d.ts +3640 -4
- package/lib/src/util/object.d.ts +2 -2
- package/package.json +1 -1
- package/phpunitMock/accessibilityGetStatus-default.json +7 -0
- package/phpunitMock/bigBlueButtonGetPublicWebinarData-success.json +10 -0
- package/phpunitMock/bigBlueButtonPublicWebinarFullname-success.json +9 -0
- package/phpunitMock/businessContactQueryList-default.json +54 -0
- package/phpunitMock/widgetCheckListRespond-article.json +1 -1
- package/documentation/interfaces/BaseAutocomplete.html +0 -1
package/lib/src/types/asei.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jUserLittle } from './user';
|
|
2
|
-
import { jArticleLittle, jArticleView } from './
|
|
2
|
+
import { jArticleLittle, jArticleView } from './article';
|
|
3
3
|
import { jObjectLittle } from './object';
|
|
4
4
|
import { Rights } from './common';
|
|
5
5
|
export type AseiTicketStatus = 'created' | 'validated' | 'handled';
|
|
@@ -1,27 +1,279 @@
|
|
|
1
1
|
import { jObjectLittle } from './object';
|
|
2
|
-
|
|
2
|
+
import { z } from 'zod';
|
|
3
|
+
export declare const baseAutocompleteSchema: z.ZodObject<{
|
|
4
|
+
id: z.ZodString;
|
|
5
|
+
uri: z.ZodString;
|
|
6
|
+
shortUri: z.ZodString;
|
|
7
|
+
title: z.ZodString;
|
|
8
|
+
name: z.ZodString;
|
|
9
|
+
mainType: z.ZodString;
|
|
10
|
+
type: z.ZodString;
|
|
11
|
+
label: z.ZodString;
|
|
12
|
+
cssClass: z.ZodString;
|
|
13
|
+
cssColor: z.ZodString;
|
|
14
|
+
class: z.ZodString;
|
|
15
|
+
}, "strip", z.ZodTypeAny, {
|
|
16
|
+
type: string;
|
|
3
17
|
id: string;
|
|
18
|
+
mainType: string;
|
|
4
19
|
uri: string;
|
|
20
|
+
title: string;
|
|
21
|
+
name: string;
|
|
5
22
|
shortUri: string;
|
|
23
|
+
label: string;
|
|
24
|
+
cssClass: string;
|
|
25
|
+
cssColor: string;
|
|
26
|
+
class: string;
|
|
27
|
+
}, {
|
|
28
|
+
type: string;
|
|
29
|
+
id: string;
|
|
30
|
+
mainType: string;
|
|
31
|
+
uri: string;
|
|
6
32
|
title: string;
|
|
7
33
|
name: string;
|
|
34
|
+
shortUri: string;
|
|
35
|
+
label: string;
|
|
36
|
+
cssClass: string;
|
|
37
|
+
cssColor: string;
|
|
38
|
+
class: string;
|
|
39
|
+
}>;
|
|
40
|
+
export type BaseAutocomplete = z.infer<typeof baseAutocompleteSchema>;
|
|
41
|
+
export declare const jObjectAutocompleteSchema: z.ZodObject<{
|
|
42
|
+
type: z.ZodString;
|
|
43
|
+
id: z.ZodString;
|
|
44
|
+
mainType: z.ZodString;
|
|
45
|
+
uri: z.ZodString;
|
|
46
|
+
name: z.ZodString;
|
|
47
|
+
shortUri: z.ZodString;
|
|
48
|
+
label: z.ZodString;
|
|
49
|
+
cssClass: z.ZodString;
|
|
50
|
+
cssColor: z.ZodString;
|
|
51
|
+
class: z.ZodString;
|
|
52
|
+
title: z.ZodString;
|
|
53
|
+
}, "strip", z.ZodTypeAny, {
|
|
54
|
+
type: string;
|
|
55
|
+
id: string;
|
|
8
56
|
mainType: string;
|
|
57
|
+
uri: string;
|
|
58
|
+
title: string;
|
|
59
|
+
name: string;
|
|
60
|
+
shortUri: string;
|
|
61
|
+
label: string;
|
|
62
|
+
cssClass: string;
|
|
63
|
+
cssColor: string;
|
|
64
|
+
class: string;
|
|
65
|
+
}, {
|
|
9
66
|
type: string;
|
|
67
|
+
id: string;
|
|
68
|
+
mainType: string;
|
|
69
|
+
uri: string;
|
|
70
|
+
title: string;
|
|
71
|
+
name: string;
|
|
72
|
+
shortUri: string;
|
|
10
73
|
label: string;
|
|
11
74
|
cssClass: string;
|
|
12
75
|
cssColor: string;
|
|
13
76
|
class: string;
|
|
14
|
-
}
|
|
15
|
-
export type jObjectAutocomplete =
|
|
77
|
+
}>;
|
|
78
|
+
export type jObjectAutocomplete = z.infer<typeof jObjectAutocompleteSchema>;
|
|
79
|
+
export declare const jUserAutocompleteSchema: z.ZodObject<{
|
|
80
|
+
type: z.ZodString;
|
|
81
|
+
id: z.ZodString;
|
|
82
|
+
mainType: z.ZodString;
|
|
83
|
+
uri: z.ZodString;
|
|
84
|
+
title: z.ZodString;
|
|
85
|
+
name: z.ZodString;
|
|
86
|
+
shortUri: z.ZodString;
|
|
87
|
+
label: z.ZodString;
|
|
88
|
+
cssClass: z.ZodString;
|
|
89
|
+
cssColor: z.ZodString;
|
|
90
|
+
class: z.ZodString;
|
|
91
|
+
Pseudo: z.ZodString;
|
|
92
|
+
}, "strip", z.ZodTypeAny, {
|
|
93
|
+
type: string;
|
|
94
|
+
id: string;
|
|
95
|
+
mainType: string;
|
|
96
|
+
uri: string;
|
|
16
97
|
title: string;
|
|
17
|
-
|
|
18
|
-
export type jUserAutocomplete = jObjectAutocomplete & {
|
|
98
|
+
name: string;
|
|
19
99
|
Pseudo: string;
|
|
20
|
-
|
|
21
|
-
|
|
100
|
+
shortUri: string;
|
|
101
|
+
label: string;
|
|
102
|
+
cssClass: string;
|
|
103
|
+
cssColor: string;
|
|
104
|
+
class: string;
|
|
105
|
+
}, {
|
|
106
|
+
type: string;
|
|
107
|
+
id: string;
|
|
108
|
+
mainType: string;
|
|
109
|
+
uri: string;
|
|
110
|
+
title: string;
|
|
111
|
+
name: string;
|
|
112
|
+
Pseudo: string;
|
|
113
|
+
shortUri: string;
|
|
114
|
+
label: string;
|
|
115
|
+
cssClass: string;
|
|
116
|
+
cssColor: string;
|
|
117
|
+
class: string;
|
|
118
|
+
}>;
|
|
119
|
+
export type jUserAutocomplete = z.infer<typeof jUserAutocompleteSchema>;
|
|
120
|
+
export declare const jSpotAutocompleteSchema: z.ZodObject<{
|
|
121
|
+
type: z.ZodString;
|
|
122
|
+
id: z.ZodString;
|
|
123
|
+
mainType: z.ZodString;
|
|
124
|
+
uri: z.ZodString;
|
|
125
|
+
title: z.ZodString;
|
|
126
|
+
name: z.ZodString;
|
|
127
|
+
shortUri: z.ZodString;
|
|
128
|
+
label: z.ZodString;
|
|
129
|
+
cssClass: z.ZodString;
|
|
130
|
+
cssColor: z.ZodString;
|
|
131
|
+
class: z.ZodString;
|
|
132
|
+
idspot: z.ZodString;
|
|
133
|
+
}, "strip", z.ZodTypeAny, {
|
|
134
|
+
type: string;
|
|
135
|
+
id: string;
|
|
136
|
+
mainType: string;
|
|
137
|
+
uri: string;
|
|
138
|
+
title: string;
|
|
139
|
+
name: string;
|
|
140
|
+
shortUri: string;
|
|
141
|
+
label: string;
|
|
142
|
+
cssClass: string;
|
|
143
|
+
cssColor: string;
|
|
144
|
+
class: string;
|
|
22
145
|
idspot: string;
|
|
23
|
-
}
|
|
24
|
-
|
|
146
|
+
}, {
|
|
147
|
+
type: string;
|
|
148
|
+
id: string;
|
|
149
|
+
mainType: string;
|
|
150
|
+
uri: string;
|
|
151
|
+
title: string;
|
|
152
|
+
name: string;
|
|
153
|
+
shortUri: string;
|
|
154
|
+
label: string;
|
|
155
|
+
cssClass: string;
|
|
156
|
+
cssColor: string;
|
|
157
|
+
class: string;
|
|
158
|
+
idspot: string;
|
|
159
|
+
}>;
|
|
160
|
+
export type jSpotAutocomplete = z.infer<typeof jSpotAutocompleteSchema>;
|
|
161
|
+
export declare const audienceAutocompleteSchema: z.ZodUnion<[z.ZodObject<{
|
|
162
|
+
type: z.ZodString;
|
|
163
|
+
id: z.ZodString;
|
|
164
|
+
mainType: z.ZodString;
|
|
165
|
+
uri: z.ZodString;
|
|
166
|
+
name: z.ZodString;
|
|
167
|
+
shortUri: z.ZodString;
|
|
168
|
+
label: z.ZodString;
|
|
169
|
+
cssClass: z.ZodString;
|
|
170
|
+
cssColor: z.ZodString;
|
|
171
|
+
class: z.ZodString;
|
|
172
|
+
title: z.ZodString;
|
|
173
|
+
}, "strip", z.ZodTypeAny, {
|
|
174
|
+
type: string;
|
|
175
|
+
id: string;
|
|
176
|
+
mainType: string;
|
|
177
|
+
uri: string;
|
|
178
|
+
title: string;
|
|
179
|
+
name: string;
|
|
180
|
+
shortUri: string;
|
|
181
|
+
label: string;
|
|
182
|
+
cssClass: string;
|
|
183
|
+
cssColor: string;
|
|
184
|
+
class: string;
|
|
185
|
+
}, {
|
|
186
|
+
type: string;
|
|
187
|
+
id: string;
|
|
188
|
+
mainType: string;
|
|
189
|
+
uri: string;
|
|
190
|
+
title: string;
|
|
191
|
+
name: string;
|
|
192
|
+
shortUri: string;
|
|
193
|
+
label: string;
|
|
194
|
+
cssClass: string;
|
|
195
|
+
cssColor: string;
|
|
196
|
+
class: string;
|
|
197
|
+
}>, z.ZodObject<{
|
|
198
|
+
type: z.ZodString;
|
|
199
|
+
id: z.ZodString;
|
|
200
|
+
mainType: z.ZodString;
|
|
201
|
+
uri: z.ZodString;
|
|
202
|
+
title: z.ZodString;
|
|
203
|
+
name: z.ZodString;
|
|
204
|
+
shortUri: z.ZodString;
|
|
205
|
+
label: z.ZodString;
|
|
206
|
+
cssClass: z.ZodString;
|
|
207
|
+
cssColor: z.ZodString;
|
|
208
|
+
class: z.ZodString;
|
|
209
|
+
Pseudo: z.ZodString;
|
|
210
|
+
}, "strip", z.ZodTypeAny, {
|
|
211
|
+
type: string;
|
|
212
|
+
id: string;
|
|
213
|
+
mainType: string;
|
|
214
|
+
uri: string;
|
|
215
|
+
title: string;
|
|
216
|
+
name: string;
|
|
217
|
+
Pseudo: string;
|
|
218
|
+
shortUri: string;
|
|
219
|
+
label: string;
|
|
220
|
+
cssClass: string;
|
|
221
|
+
cssColor: string;
|
|
222
|
+
class: string;
|
|
223
|
+
}, {
|
|
224
|
+
type: string;
|
|
225
|
+
id: string;
|
|
226
|
+
mainType: string;
|
|
227
|
+
uri: string;
|
|
228
|
+
title: string;
|
|
229
|
+
name: string;
|
|
230
|
+
Pseudo: string;
|
|
231
|
+
shortUri: string;
|
|
232
|
+
label: string;
|
|
233
|
+
cssClass: string;
|
|
234
|
+
cssColor: string;
|
|
235
|
+
class: string;
|
|
236
|
+
}>, z.ZodObject<{
|
|
237
|
+
type: z.ZodString;
|
|
238
|
+
id: z.ZodString;
|
|
239
|
+
mainType: z.ZodString;
|
|
240
|
+
uri: z.ZodString;
|
|
241
|
+
title: z.ZodString;
|
|
242
|
+
name: z.ZodString;
|
|
243
|
+
shortUri: z.ZodString;
|
|
244
|
+
label: z.ZodString;
|
|
245
|
+
cssClass: z.ZodString;
|
|
246
|
+
cssColor: z.ZodString;
|
|
247
|
+
class: z.ZodString;
|
|
248
|
+
idspot: z.ZodString;
|
|
249
|
+
}, "strip", z.ZodTypeAny, {
|
|
250
|
+
type: string;
|
|
251
|
+
id: string;
|
|
252
|
+
mainType: string;
|
|
253
|
+
uri: string;
|
|
254
|
+
title: string;
|
|
255
|
+
name: string;
|
|
256
|
+
shortUri: string;
|
|
257
|
+
label: string;
|
|
258
|
+
cssClass: string;
|
|
259
|
+
cssColor: string;
|
|
260
|
+
class: string;
|
|
261
|
+
idspot: string;
|
|
262
|
+
}, {
|
|
263
|
+
type: string;
|
|
264
|
+
id: string;
|
|
265
|
+
mainType: string;
|
|
266
|
+
uri: string;
|
|
267
|
+
title: string;
|
|
268
|
+
name: string;
|
|
269
|
+
shortUri: string;
|
|
270
|
+
label: string;
|
|
271
|
+
cssClass: string;
|
|
272
|
+
cssColor: string;
|
|
273
|
+
class: string;
|
|
274
|
+
idspot: string;
|
|
275
|
+
}>]>;
|
|
276
|
+
export type AudienceAutocomplete = z.infer<typeof audienceAutocompleteSchema>;
|
|
25
277
|
export type CommunityAutocomplete = jObjectAutocomplete;
|
|
26
278
|
export type Community = jObjectLittle & {
|
|
27
279
|
isTechnical: number;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const publicWebinarFullnameRequestSchema: z.ZodObject<{
|
|
3
|
+
token: z.ZodString;
|
|
4
|
+
fullname: z.ZodString;
|
|
5
|
+
}, "strip", z.ZodTypeAny, {
|
|
6
|
+
token: string;
|
|
7
|
+
fullname: string;
|
|
8
|
+
}, {
|
|
9
|
+
token: string;
|
|
10
|
+
fullname: string;
|
|
11
|
+
}>;
|
|
12
|
+
export type PublicWebinarFullnameRequest = z.infer<typeof publicWebinarFullnameRequestSchema>;
|
|
13
|
+
export declare const publicWebinarUrlSchema: z.ZodObject<{
|
|
14
|
+
redirectUrl: z.ZodString;
|
|
15
|
+
}, "strip", z.ZodTypeAny, {
|
|
16
|
+
redirectUrl: string;
|
|
17
|
+
}, {
|
|
18
|
+
redirectUrl: string;
|
|
19
|
+
}>;
|
|
20
|
+
export type PublicWebinarUrl = z.infer<typeof publicWebinarUrlSchema>;
|
|
21
|
+
export declare const publicWebinarGetDateRequestSchema: z.ZodObject<{
|
|
22
|
+
token: z.ZodString;
|
|
23
|
+
}, "strip", z.ZodTypeAny, {
|
|
24
|
+
token: string;
|
|
25
|
+
}, {
|
|
26
|
+
token: string;
|
|
27
|
+
}>;
|
|
28
|
+
export type GetPublicWebinarDataRequest = z.infer<typeof publicWebinarGetDateRequestSchema>;
|
|
29
|
+
export declare const publicWebinarData: z.ZodObject<{
|
|
30
|
+
dateStart: z.ZodString;
|
|
31
|
+
title: z.ZodString;
|
|
32
|
+
}, "strip", z.ZodTypeAny, {
|
|
33
|
+
title: string;
|
|
34
|
+
dateStart: string;
|
|
35
|
+
}, {
|
|
36
|
+
title: string;
|
|
37
|
+
dateStart: string;
|
|
38
|
+
}>;
|
|
39
|
+
export type PublicWebinarData = z.infer<typeof publicWebinarData>;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { jArticleList, jArticleLittle } from './article';
|
|
2
|
+
export type jBusinessContactLittle = jArticleLittle & {
|
|
3
|
+
type: 'businessContactCard';
|
|
4
|
+
};
|
|
5
|
+
export type jBusinessContactList = jArticleList & jBusinessContactLittle & {
|
|
6
|
+
mail: string | null;
|
|
7
|
+
pseudo: string | null;
|
|
8
|
+
firstName: string | null;
|
|
9
|
+
lastName: string | null;
|
|
10
|
+
phoneNumber: string | null;
|
|
11
|
+
company: string | null;
|
|
12
|
+
function: string | null;
|
|
13
|
+
champ1?: string;
|
|
14
|
+
champ2?: string;
|
|
15
|
+
champ3?: string;
|
|
16
|
+
champ4?: string;
|
|
17
|
+
champ5?: string;
|
|
18
|
+
};
|
package/lib/src/types/faq.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { FormatList, MaybeWithToken } from './utils';
|
|
2
2
|
import { ImageSize, jFileLittle } from './file';
|
|
3
3
|
import { AudienceAutocomplete, jObjectAutocomplete } from './autocomplete';
|
|
4
|
-
import { ArticleCreation } from './article';
|
|
5
|
-
export type FaqView = FaqList & {
|
|
4
|
+
import { ArticleCreation, jArticleList, jArticleLittle, jArticleView } from './article';
|
|
5
|
+
export type FaqView = jArticleView & FaqList & {
|
|
6
6
|
_audience: AudienceAutocomplete[];
|
|
7
7
|
tags?: jObjectAutocomplete[];
|
|
8
8
|
isWeb: boolean;
|
|
@@ -11,7 +11,6 @@ export type FaqView = FaqList & {
|
|
|
11
11
|
id?: string;
|
|
12
12
|
items: string[];
|
|
13
13
|
}[];
|
|
14
|
-
_attachedFiles: jFileLittle[];
|
|
15
14
|
};
|
|
16
15
|
export type FaqList = jArticleList & {
|
|
17
16
|
faqColor?: string;
|
|
@@ -48,7 +47,7 @@ export type CreateFaqCategory = MaybeWithToken<Omit<ArticleCreation, 'idSpot'>>
|
|
|
48
47
|
};
|
|
49
48
|
export type EditFaqCategory = CreateFaqCategory & {
|
|
50
49
|
uri: string;
|
|
51
|
-
format?:
|
|
50
|
+
format?: FormatList;
|
|
52
51
|
};
|
|
53
52
|
export type FaqTaxonomy = {
|
|
54
53
|
title: string;
|
package/lib/src/types/file.d.ts
CHANGED
|
@@ -213,13 +213,13 @@ export declare const userDownloadSchema: z.ZodObject<{
|
|
|
213
213
|
type: z.ZodString;
|
|
214
214
|
}, "strip", z.ZodTypeAny, {
|
|
215
215
|
type: string;
|
|
216
|
-
Pseudo: string;
|
|
217
216
|
idUser: string;
|
|
218
217
|
dateDownload: string;
|
|
218
|
+
Pseudo: string;
|
|
219
219
|
}, {
|
|
220
220
|
type: string;
|
|
221
|
-
Pseudo: string;
|
|
222
221
|
idUser: string;
|
|
223
222
|
dateDownload: string;
|
|
223
|
+
Pseudo: string;
|
|
224
224
|
}>;
|
|
225
225
|
export type UserDownload = z.infer<typeof userDownloadSchema>;
|
package/lib/src/types/group.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jUserLittle } from './user';
|
|
2
|
-
import { Filters, Orders } from './utils';
|
|
3
|
-
import { jObjectBase
|
|
2
|
+
import { Filters, FormatList, Orders } from './utils';
|
|
3
|
+
import { jObjectBase } from './object';
|
|
4
4
|
import { Rights } from './common';
|
|
5
5
|
import { z } from 'zod';
|
|
6
6
|
export type CreateGroup = {
|
|
@@ -167,12 +167,41 @@ export interface Category {
|
|
|
167
167
|
label: string;
|
|
168
168
|
}
|
|
169
169
|
export type jGroupList = jObjectBase & GroupLittle;
|
|
170
|
-
export
|
|
170
|
+
export declare const groupLittleSchema: z.ZodObject<{
|
|
171
|
+
type: z.ZodString;
|
|
172
|
+
id: z.ZodNumber;
|
|
173
|
+
mainType: z.ZodString;
|
|
174
|
+
uri: z.ZodString;
|
|
175
|
+
title: z.ZodString;
|
|
176
|
+
_url: z.ZodString;
|
|
177
|
+
dateCreation: z.ZodString;
|
|
178
|
+
dateModified: z.ZodString;
|
|
179
|
+
category: z.ZodNumber;
|
|
180
|
+
privacy: z.ZodNumber;
|
|
181
|
+
}, "strip", z.ZodTypeAny, {
|
|
182
|
+
type: string;
|
|
183
|
+
id: number;
|
|
184
|
+
mainType: string;
|
|
185
|
+
uri: string;
|
|
171
186
|
dateCreation: string;
|
|
172
187
|
dateModified: string;
|
|
188
|
+
title: string;
|
|
189
|
+
_url: string;
|
|
173
190
|
category: number;
|
|
174
191
|
privacy: number;
|
|
175
|
-
}
|
|
192
|
+
}, {
|
|
193
|
+
type: string;
|
|
194
|
+
id: number;
|
|
195
|
+
mainType: string;
|
|
196
|
+
uri: string;
|
|
197
|
+
dateCreation: string;
|
|
198
|
+
dateModified: string;
|
|
199
|
+
title: string;
|
|
200
|
+
_url: string;
|
|
201
|
+
category: number;
|
|
202
|
+
privacy: number;
|
|
203
|
+
}>;
|
|
204
|
+
export type GroupLittle = z.infer<typeof groupLittleSchema>;
|
|
176
205
|
export type GroupList = GroupLittle & {
|
|
177
206
|
description: string;
|
|
178
207
|
edito: string | null;
|
|
@@ -193,7 +222,7 @@ export type ResetNotificationConfiguration = {
|
|
|
193
222
|
};
|
|
194
223
|
export type GroupListConfig = {
|
|
195
224
|
type?: string;
|
|
196
|
-
format?:
|
|
225
|
+
format?: FormatList;
|
|
197
226
|
query?: string;
|
|
198
227
|
limit?: number;
|
|
199
228
|
page?: number;
|
package/lib/src/types/hook.d.ts
CHANGED
|
@@ -50,11 +50,11 @@ declare const fileBankHookSchema: z.ZodIntersection<z.ZodObject<{
|
|
|
50
50
|
orderBy: z.ZodString;
|
|
51
51
|
order: z.ZodEnum<["ASC", "DESC"]>;
|
|
52
52
|
}, "strip", z.ZodTypeAny, {
|
|
53
|
-
orderBy: string;
|
|
54
53
|
order: "ASC" | "DESC";
|
|
55
|
-
}, {
|
|
56
54
|
orderBy: string;
|
|
55
|
+
}, {
|
|
57
56
|
order: "ASC" | "DESC";
|
|
57
|
+
orderBy: string;
|
|
58
58
|
}>>;
|
|
59
59
|
export type FileBankHook = z.infer<typeof fileBankHookSchema>;
|
|
60
60
|
declare const adminAdvancedHookSchema: z.ZodIntersection<z.ZodObject<{
|
|
@@ -136,11 +136,11 @@ declare const hookListTypeSchema: z.ZodObject<{
|
|
|
136
136
|
orderBy: z.ZodString;
|
|
137
137
|
order: z.ZodEnum<["ASC", "DESC"]>;
|
|
138
138
|
}, "strip", z.ZodTypeAny, {
|
|
139
|
-
orderBy: string;
|
|
140
139
|
order: "ASC" | "DESC";
|
|
141
|
-
}, {
|
|
142
140
|
orderBy: string;
|
|
141
|
+
}, {
|
|
143
142
|
order: "ASC" | "DESC";
|
|
143
|
+
orderBy: string;
|
|
144
144
|
}>>>;
|
|
145
145
|
spotRssFeed: z.ZodOptional<z.ZodIntersection<z.ZodObject<{
|
|
146
146
|
isActive: z.ZodBoolean;
|
|
@@ -192,8 +192,8 @@ declare const hookListTypeSchema: z.ZodObject<{
|
|
|
192
192
|
FileBankHook?: ({
|
|
193
193
|
isActive: boolean;
|
|
194
194
|
} & {
|
|
195
|
-
orderBy: string;
|
|
196
195
|
order: "ASC" | "DESC";
|
|
196
|
+
orderBy: string;
|
|
197
197
|
}) | undefined;
|
|
198
198
|
spotRssFeed?: ({
|
|
199
199
|
isActive: boolean;
|
|
@@ -223,8 +223,8 @@ declare const hookListTypeSchema: z.ZodObject<{
|
|
|
223
223
|
FileBankHook?: ({
|
|
224
224
|
isActive: boolean;
|
|
225
225
|
} & {
|
|
226
|
-
orderBy: string;
|
|
227
226
|
order: "ASC" | "DESC";
|
|
227
|
+
orderBy: string;
|
|
228
228
|
}) | undefined;
|
|
229
229
|
spotRssFeed?: ({
|
|
230
230
|
isActive: boolean;
|
package/lib/src/types/index.d.ts
CHANGED
|
@@ -6,7 +6,9 @@ export * from './article';
|
|
|
6
6
|
export * from './asei';
|
|
7
7
|
export * from './assetReservation';
|
|
8
8
|
export * from './autocomplete';
|
|
9
|
+
export * from './bbb';
|
|
9
10
|
export * from './bookmark';
|
|
11
|
+
export * from './businessContact';
|
|
10
12
|
export * from './comment';
|
|
11
13
|
export * from './common';
|
|
12
14
|
export * from './diapazone';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { AudienceAutocomplete,
|
|
2
|
+
import { AudienceAutocomplete, FormatList, jArticleList, jArticleLittle, jFileLittle } from '../types';
|
|
3
3
|
export type MediaLibraryLittle = jArticleLittle & {
|
|
4
4
|
attachment: jFileLittle;
|
|
5
5
|
description: string;
|
|
@@ -10,7 +10,7 @@ export type MediaLibraryList = jArticleList & {
|
|
|
10
10
|
_audience: Array<AudienceAutocomplete>;
|
|
11
11
|
};
|
|
12
12
|
export type GetUnclassifiedFilesParams = {
|
|
13
|
-
format:
|
|
13
|
+
format: FormatList;
|
|
14
14
|
page?: number;
|
|
15
15
|
limit?: number;
|
|
16
16
|
nolimit?: boolean;
|
package/lib/src/types/quizz.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { jObjectLittle } from './object';
|
|
2
|
+
import { FormatList } from './utils';
|
|
2
3
|
export interface SearchCategoryModel {
|
|
3
4
|
id: string;
|
|
4
5
|
mainType: string;
|
|
@@ -118,7 +119,7 @@ export interface SearchQuery {
|
|
|
118
119
|
limit?: number;
|
|
119
120
|
sort?: SearchQuerySortModel;
|
|
120
121
|
options?: SearchQueryOption;
|
|
121
|
-
format?:
|
|
122
|
+
format?: FormatList;
|
|
122
123
|
}
|
|
123
124
|
export interface SearchQueryResult<T extends jObjectLittle = jObjectLittle> {
|
|
124
125
|
start: number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jUserLittle } from './user';
|
|
2
|
-
import { jArticleList, jArticleView } from './
|
|
2
|
+
import { jArticleList, jArticleView } from './article';
|
|
3
3
|
export type jSupportList = jArticleList & {
|
|
4
4
|
supportStatus: number | string | null;
|
|
5
5
|
supportType: number | string | null;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { GroupLittle } from '../apis';
|
|
2
2
|
import { jCommentList } from './comment';
|
|
3
3
|
import { jFileLittle } from './file';
|
|
4
|
-
import { Readable
|
|
5
|
-
import { ArticleCreation } from './article';
|
|
4
|
+
import { Readable } from './utils';
|
|
5
|
+
import { ArticleCreation, jArticleList, jArticleLittle } from './article';
|
|
6
6
|
import { jObjectList } from './object';
|
|
7
7
|
export type TvChannelType = 'DYNAMIC' | 'SLIDESHOW';
|
|
8
8
|
export type TVChannelCustom<T extends TvChannelType> = jObjectList & {
|