jamespot-user-api 1.0.185 → 1.0.187

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (84) hide show
  1. package/documentation/assets/search.js +1 -1
  2. package/documentation/classes/AdminLicenseApi.html +14 -14
  3. package/documentation/classes/AdminStoreApi.html +1 -1
  4. package/documentation/classes/AdminUtilsApi.html +1 -1
  5. package/documentation/classes/JApplicationApi.html +8 -8
  6. package/documentation/classes/JArticleApi.html +1 -1
  7. package/documentation/classes/JAssetReservation.html +1 -1
  8. package/documentation/classes/JAudienceApi.html +1 -1
  9. package/documentation/classes/JBaseApi.html +1 -1
  10. package/documentation/classes/JBbbApi.html +1 -1
  11. package/documentation/classes/JBookmarkApi.html +1 -1
  12. package/documentation/classes/JBusinessNetworkingApi.html +1 -1
  13. package/documentation/classes/JCommunityApi.html +1 -1
  14. package/documentation/classes/JDatasourceApi.html +1 -1
  15. package/documentation/classes/JDiapazoneApi.html +1 -1
  16. package/documentation/classes/JFaqApi.html +1 -1
  17. package/documentation/classes/JFileApi.html +5 -5
  18. package/documentation/classes/JFilebankApi.html +1 -1
  19. package/documentation/classes/JGlobalApi.html +1 -1
  20. package/documentation/classes/JGroupApi.html +12 -12
  21. package/documentation/classes/JIAApi.html +1 -1
  22. package/documentation/classes/JLandApi.html +1 -1
  23. package/documentation/classes/JMessengerApi.html +1 -1
  24. package/documentation/classes/JObjectApi.html +1 -1
  25. package/documentation/classes/JSearchApi.html +6 -6
  26. package/documentation/classes/JShareApi.html +1 -1
  27. package/documentation/classes/JSocialActionApi.html +1 -1
  28. package/documentation/classes/JTaxonomyApi.html +2 -2
  29. package/documentation/classes/JUserApi.html +7 -7
  30. package/documentation/classes/JWedocApi.html +1 -1
  31. package/documentation/classes/JWidgetApi.html +1 -1
  32. package/documentation/classes/JamespotUserApi.html +1 -1
  33. package/documentation/classes/Network.html +1 -1
  34. package/documentation/classes/TVDisplayApi.html +1 -1
  35. package/documentation/classes/WindowBrowser.html +1 -1
  36. package/documentation/enums/BookmarkType.html +1 -1
  37. package/documentation/enums/Format.html +1 -1
  38. package/documentation/enums/GroupModerateStatus.html +1 -1
  39. package/documentation/enums/StudioApplicationStatus.html +1 -1
  40. package/documentation/enums/WidgetsName.html +1 -1
  41. package/documentation/index.html +1 -1
  42. package/documentation/interfaces/AccessRightObject.html +1 -1
  43. package/documentation/interfaces/ApiDefaultWrapper.html +1 -1
  44. package/documentation/interfaces/ApiWrapper.html +1 -1
  45. package/documentation/interfaces/BaseMessage.html +1 -1
  46. package/documentation/interfaces/FileBankProps.html +1 -1
  47. package/documentation/interfaces/FolderProps.html +1 -1
  48. package/documentation/interfaces/ListFilterSpec.html +1 -1
  49. package/documentation/interfaces/OF.html +1 -1
  50. package/documentation/interfaces/PagingResults.html +1 -1
  51. package/documentation/interfaces/RootFolderProps.html +1 -1
  52. package/documentation/interfaces/SpotProps.html +1 -1
  53. package/documentation/interfaces/TaxonomyCreate.html +1 -1
  54. package/documentation/interfaces/WidgetType.html +1 -1
  55. package/documentation/interfaces/WindowInterface.html +1 -1
  56. package/documentation/modules.html +11 -11
  57. package/lib/jamespot-user-api.js +1 -1
  58. package/lib/jamespot-user-api.js.map +1 -1
  59. package/lib/src/apis/article/article.mock.d.ts +1 -0
  60. package/lib/src/apis/drive/drive.d.ts +17 -4
  61. package/lib/src/apis/drive/drive.mock.d.ts +5 -1
  62. package/lib/src/apis/tvDisplay/tvDisplay.d.ts +48 -8
  63. package/lib/src/types/article.d.ts +360 -60
  64. package/lib/src/types/asei.d.ts +36 -6
  65. package/lib/src/types/assetReservation.d.ts +156 -26
  66. package/lib/src/types/businessContact.d.ts +24 -4
  67. package/lib/src/types/comment.d.ts +36 -6
  68. package/lib/src/types/drive.d.ts +273 -10
  69. package/lib/src/types/faq.d.ts +192 -32
  70. package/lib/src/types/jLand.d.ts +60 -10
  71. package/lib/src/types/mediaLibrary.d.ts +36 -6
  72. package/lib/src/types/meeting.d.ts +108 -18
  73. package/lib/src/types/pollSurvey.d.ts +108 -18
  74. package/lib/src/types/quizz.d.ts +108 -18
  75. package/lib/src/types/socialEvent.d.ts +108 -18
  76. package/lib/src/types/support.d.ts +108 -18
  77. package/lib/src/types/surveyDate.d.ts +108 -18
  78. package/lib/src/types/tvDisplay.d.ts +900 -150
  79. package/lib/src/types/widgets/default.d.ts +206 -24
  80. package/lib/src/types/widgets/widgetCheckList.d.ts +52 -10
  81. package/lib/src/types/widgets.d.ts +442 -68
  82. package/lib/src/util/widget.d.ts +6 -1
  83. package/package.json +1 -1
  84. package/phpunitMock/articleGet-with-attachments.json +55 -0
@@ -1,5 +1,5 @@
1
1
  import { z } from 'zod';
2
- export declare const msTenantsSchema: z.ZodUnion<[z.ZodLiteral<"groups">, z.ZodLiteral<"sites">, z.ZodLiteral<"onedrive">, z.ZodLiteral<"group">, z.ZodLiteral<"documents">]>;
2
+ export declare const msTenantsSchema: z.ZodUnion<[z.ZodLiteral<"groups">, z.ZodLiteral<"sites">, z.ZodLiteral<"onedrive">, z.ZodLiteral<"group">, z.ZodLiteral<"documents">, z.ZodLiteral<"me">]>;
3
3
  export type MSTenants = z.infer<typeof msTenantsSchema>;
4
4
  export declare const msBaseEntitySchema: z.ZodObject<{
5
5
  title: z.ZodString;
@@ -20,15 +20,15 @@ export declare const msTenantEntitySchema: z.ZodObject<z.objectUtil.extendShape<
20
20
  id: z.ZodString;
21
21
  type: z.ZodString;
22
22
  }, "id">, {
23
- name: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"groups">, z.ZodLiteral<"sites">, z.ZodLiteral<"onedrive">, z.ZodLiteral<"group">, z.ZodLiteral<"documents">]>>;
23
+ name: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"groups">, z.ZodLiteral<"sites">, z.ZodLiteral<"onedrive">, z.ZodLiteral<"group">, z.ZodLiteral<"documents">, z.ZodLiteral<"me">]>>;
24
24
  }>, "strip", z.ZodTypeAny, {
25
25
  type: string;
26
26
  title: string;
27
- name?: "groups" | "sites" | "onedrive" | "group" | "documents" | undefined;
27
+ name?: "groups" | "sites" | "onedrive" | "group" | "documents" | "me" | undefined;
28
28
  }, {
29
29
  type: string;
30
30
  title: string;
31
- name?: "groups" | "sites" | "onedrive" | "group" | "documents" | undefined;
31
+ name?: "groups" | "sites" | "onedrive" | "group" | "documents" | "me" | undefined;
32
32
  }>;
33
33
  export type MSTenantEntity = z.infer<typeof msTenantEntitySchema>;
34
34
  export declare const msSiteEntitySchema: z.ZodIntersection<z.ZodObject<{
@@ -70,17 +70,20 @@ export declare const msDocumentEntitySchema: z.ZodObject<z.objectUtil.extendShap
70
70
  }, {
71
71
  mimetype: z.ZodOptional<z.ZodString>;
72
72
  webUrl: z.ZodOptional<z.ZodString>;
73
+ size: z.ZodOptional<z.ZodNumber>;
73
74
  }>, "strip", z.ZodTypeAny, {
74
75
  type: string;
75
76
  id: string;
76
77
  title: string;
77
78
  mimetype?: string | undefined;
79
+ size?: number | undefined;
78
80
  webUrl?: string | undefined;
79
81
  }, {
80
82
  type: string;
81
83
  id: string;
82
84
  title: string;
83
85
  mimetype?: string | undefined;
86
+ size?: number | undefined;
84
87
  webUrl?: string | undefined;
85
88
  }>;
86
89
  export type MSDocumentEntity = z.infer<typeof msDocumentEntitySchema>;
@@ -107,17 +110,20 @@ export declare const msUnifiedEntitySchema: z.ZodIntersection<z.ZodObject<z.obje
107
110
  }, {
108
111
  mimetype: z.ZodOptional<z.ZodString>;
109
112
  webUrl: z.ZodOptional<z.ZodString>;
113
+ size: z.ZodOptional<z.ZodNumber>;
110
114
  }>, "strip", z.ZodTypeAny, {
111
115
  type: string;
112
116
  id: string;
113
117
  title: string;
114
118
  mimetype?: string | undefined;
119
+ size?: number | undefined;
115
120
  webUrl?: string | undefined;
116
121
  }, {
117
122
  type: string;
118
123
  id: string;
119
124
  title: string;
120
125
  mimetype?: string | undefined;
126
+ size?: number | undefined;
121
127
  webUrl?: string | undefined;
122
128
  }>>;
123
129
  export type MSUnifiedEntity = z.infer<typeof msUnifiedEntitySchema>;
@@ -125,17 +131,17 @@ export declare const driveAccountSchema: z.ZodObject<{
125
131
  id: z.ZodString;
126
132
  title: z.ZodString;
127
133
  mail: z.ZodString;
128
- default: z.ZodBoolean;
134
+ default: z.ZodOptional<z.ZodBoolean>;
129
135
  }, "strip", z.ZodTypeAny, {
130
136
  id: string;
131
137
  title: string;
132
138
  mail: string;
133
- default: boolean;
139
+ default?: boolean | undefined;
134
140
  }, {
135
141
  id: string;
136
142
  title: string;
137
143
  mail: string;
138
- default: boolean;
144
+ default?: boolean | undefined;
139
145
  }>;
140
146
  export type DriveAccount = z.infer<typeof driveAccountSchema>;
141
147
  export declare const driveItemTypeSchema: z.ZodObject<{
@@ -159,7 +165,7 @@ export declare const driveItemTypeSchema: z.ZodObject<{
159
165
  }>;
160
166
  export type DriveItemType = z.infer<typeof driveItemTypeSchema>;
161
167
  export declare const driveDocumentParamsSchema: z.ZodObject<{
162
- msTenant: z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"groups">, z.ZodLiteral<"sites">, z.ZodLiteral<"onedrive">, z.ZodLiteral<"group">, z.ZodLiteral<"documents">]>, z.ZodUndefined]>;
168
+ msTenant: z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"groups">, z.ZodLiteral<"sites">, z.ZodLiteral<"onedrive">, z.ZodLiteral<"group">, z.ZodLiteral<"documents">, z.ZodLiteral<"me">]>, z.ZodUndefined]>;
163
169
  msId: z.ZodUnion<[z.ZodString, z.ZodUndefined]>;
164
170
  idFolder: z.ZodUnion<[z.ZodString, z.ZodUndefined]>;
165
171
  page: z.ZodNumber;
@@ -169,15 +175,272 @@ export declare const driveDocumentParamsSchema: z.ZodObject<{
169
175
  limit: number;
170
176
  page: number;
171
177
  query?: string | null | undefined;
172
- msTenant?: "groups" | "sites" | "onedrive" | "group" | "documents" | undefined;
178
+ msTenant?: "groups" | "sites" | "onedrive" | "group" | "documents" | "me" | undefined;
173
179
  msId?: string | undefined;
174
180
  idFolder?: string | undefined;
175
181
  }, {
176
182
  limit: number;
177
183
  page: number;
178
184
  query?: string | null | undefined;
179
- msTenant?: "groups" | "sites" | "onedrive" | "group" | "documents" | undefined;
185
+ msTenant?: "groups" | "sites" | "onedrive" | "group" | "documents" | "me" | undefined;
180
186
  msId?: string | undefined;
181
187
  idFolder?: string | undefined;
182
188
  }>;
183
189
  export type DriveDocumentParams = z.infer<typeof driveDocumentParamsSchema>;
190
+ export declare const driveTmpFileSchema: z.ZodObject<{
191
+ id: z.ZodNumber;
192
+ name: z.ZodString;
193
+ type: z.ZodString;
194
+ token: z.ZodString;
195
+ size: z.ZodNumber;
196
+ mediaKey: z.ZodString;
197
+ }, "strip", z.ZodTypeAny, {
198
+ type: string;
199
+ id: number;
200
+ token: string;
201
+ size: number;
202
+ name: string;
203
+ mediaKey: string;
204
+ }, {
205
+ type: string;
206
+ id: number;
207
+ token: string;
208
+ size: number;
209
+ name: string;
210
+ mediaKey: string;
211
+ }>;
212
+ export type DriveTmpFile = z.infer<typeof driveTmpFileSchema>;
213
+ export declare const driveGetDocumentParamsSchema: z.ZodObject<{
214
+ token: z.ZodOptional<z.ZodString>;
215
+ attrName: z.ZodString;
216
+ file: z.ZodObject<{
217
+ service: z.ZodString;
218
+ account: z.ZodString;
219
+ title: z.ZodString;
220
+ mimetype: z.ZodOptional<z.ZodString>;
221
+ _document: z.ZodObject<z.objectUtil.extendShape<{
222
+ title: z.ZodString;
223
+ id: z.ZodString;
224
+ type: z.ZodString;
225
+ }, {
226
+ mimetype: z.ZodOptional<z.ZodString>;
227
+ webUrl: z.ZodOptional<z.ZodString>;
228
+ size: z.ZodOptional<z.ZodNumber>;
229
+ }>, "strip", z.ZodTypeAny, {
230
+ type: string;
231
+ id: string;
232
+ title: string;
233
+ mimetype?: string | undefined;
234
+ size?: number | undefined;
235
+ webUrl?: string | undefined;
236
+ }, {
237
+ type: string;
238
+ id: string;
239
+ title: string;
240
+ mimetype?: string | undefined;
241
+ size?: number | undefined;
242
+ webUrl?: string | undefined;
243
+ }>;
244
+ }, "strip", z.ZodTypeAny, {
245
+ title: string;
246
+ service: string;
247
+ account: string;
248
+ _document: {
249
+ type: string;
250
+ id: string;
251
+ title: string;
252
+ mimetype?: string | undefined;
253
+ size?: number | undefined;
254
+ webUrl?: string | undefined;
255
+ };
256
+ mimetype?: string | undefined;
257
+ }, {
258
+ title: string;
259
+ service: string;
260
+ account: string;
261
+ _document: {
262
+ type: string;
263
+ id: string;
264
+ title: string;
265
+ mimetype?: string | undefined;
266
+ size?: number | undefined;
267
+ webUrl?: string | undefined;
268
+ };
269
+ mimetype?: string | undefined;
270
+ }>;
271
+ }, "strip", z.ZodTypeAny, {
272
+ attrName: string;
273
+ file: {
274
+ title: string;
275
+ service: string;
276
+ account: string;
277
+ _document: {
278
+ type: string;
279
+ id: string;
280
+ title: string;
281
+ mimetype?: string | undefined;
282
+ size?: number | undefined;
283
+ webUrl?: string | undefined;
284
+ };
285
+ mimetype?: string | undefined;
286
+ };
287
+ token?: string | undefined;
288
+ }, {
289
+ attrName: string;
290
+ file: {
291
+ title: string;
292
+ service: string;
293
+ account: string;
294
+ _document: {
295
+ type: string;
296
+ id: string;
297
+ title: string;
298
+ mimetype?: string | undefined;
299
+ size?: number | undefined;
300
+ webUrl?: string | undefined;
301
+ };
302
+ mimetype?: string | undefined;
303
+ };
304
+ token?: string | undefined;
305
+ }>;
306
+ export type DriveGetDocumentParams = z.infer<typeof driveGetDocumentParamsSchema>;
307
+ export declare const driveLogoutParamsSchema: z.ZodObject<{
308
+ id: z.ZodString;
309
+ service: z.ZodString;
310
+ }, "strip", z.ZodTypeAny, {
311
+ id: string;
312
+ service: string;
313
+ }, {
314
+ id: string;
315
+ service: string;
316
+ }>;
317
+ export type DriveLogoutParams = z.infer<typeof driveLogoutParamsSchema>;
318
+ export declare const driveGetAccountParamsSchema: z.ZodObject<{
319
+ service: z.ZodString;
320
+ id: z.ZodString;
321
+ }, "strip", z.ZodTypeAny, {
322
+ id: string;
323
+ service: string;
324
+ }, {
325
+ id: string;
326
+ service: string;
327
+ }>;
328
+ export type DriveGetAccountParams = z.infer<typeof driveGetAccountParamsSchema>;
329
+ export declare const driveGetAccountSchema: z.ZodObject<{
330
+ account: z.ZodObject<{
331
+ id: z.ZodString;
332
+ title: z.ZodString;
333
+ mail: z.ZodString;
334
+ default: z.ZodOptional<z.ZodBoolean>;
335
+ }, "strip", z.ZodTypeAny, {
336
+ id: string;
337
+ title: string;
338
+ mail: string;
339
+ default?: boolean | undefined;
340
+ }, {
341
+ id: string;
342
+ title: string;
343
+ mail: string;
344
+ default?: boolean | undefined;
345
+ }>;
346
+ }, "strip", z.ZodTypeAny, {
347
+ account: {
348
+ id: string;
349
+ title: string;
350
+ mail: string;
351
+ default?: boolean | undefined;
352
+ };
353
+ }, {
354
+ account: {
355
+ id: string;
356
+ title: string;
357
+ mail: string;
358
+ default?: boolean | undefined;
359
+ };
360
+ }>;
361
+ export type DriveGetAccount = z.infer<typeof driveGetAccountSchema>;
362
+ export declare const driveSetDefaultAccountParamsSchema: z.ZodObject<{
363
+ service: z.ZodString;
364
+ account: z.ZodString;
365
+ }, "strip", z.ZodTypeAny, {
366
+ service: string;
367
+ account: string;
368
+ }, {
369
+ service: string;
370
+ account: string;
371
+ }>;
372
+ export type DriveSetDefaultAccountParams = z.infer<typeof driveSetDefaultAccountParamsSchema>;
373
+ export declare const driveGetTenantsParamsSchema: z.ZodObject<{
374
+ allow: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodLiteral<"groups">, z.ZodLiteral<"me">]>, "many">>;
375
+ id: z.ZodString;
376
+ }, "strip", z.ZodTypeAny, {
377
+ id: string;
378
+ allow?: ("groups" | "me")[] | undefined;
379
+ }, {
380
+ id: string;
381
+ allow?: ("groups" | "me")[] | undefined;
382
+ }>;
383
+ export type DriveGetTenantsParams = z.infer<typeof driveGetTenantsParamsSchema>;
384
+ export declare const driveGetDocumentsParamsSchema: z.ZodObject<{
385
+ service: z.ZodString;
386
+ id: z.ZodString;
387
+ documentParams: z.ZodObject<{
388
+ msTenant: z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"groups">, z.ZodLiteral<"sites">, z.ZodLiteral<"onedrive">, z.ZodLiteral<"group">, z.ZodLiteral<"documents">, z.ZodLiteral<"me">]>, z.ZodUndefined]>;
389
+ msId: z.ZodUnion<[z.ZodString, z.ZodUndefined]>;
390
+ idFolder: z.ZodUnion<[z.ZodString, z.ZodUndefined]>;
391
+ page: z.ZodNumber;
392
+ limit: z.ZodNumber;
393
+ query: z.ZodNullable<z.ZodOptional<z.ZodString>>;
394
+ }, "strip", z.ZodTypeAny, {
395
+ limit: number;
396
+ page: number;
397
+ query?: string | null | undefined;
398
+ msTenant?: "groups" | "sites" | "onedrive" | "group" | "documents" | "me" | undefined;
399
+ msId?: string | undefined;
400
+ idFolder?: string | undefined;
401
+ }, {
402
+ limit: number;
403
+ page: number;
404
+ query?: string | null | undefined;
405
+ msTenant?: "groups" | "sites" | "onedrive" | "group" | "documents" | "me" | undefined;
406
+ msId?: string | undefined;
407
+ idFolder?: string | undefined;
408
+ }>;
409
+ }, "strip", z.ZodTypeAny, {
410
+ id: string;
411
+ service: string;
412
+ documentParams: {
413
+ limit: number;
414
+ page: number;
415
+ query?: string | null | undefined;
416
+ msTenant?: "groups" | "sites" | "onedrive" | "group" | "documents" | "me" | undefined;
417
+ msId?: string | undefined;
418
+ idFolder?: string | undefined;
419
+ };
420
+ }, {
421
+ id: string;
422
+ service: string;
423
+ documentParams: {
424
+ limit: number;
425
+ page: number;
426
+ query?: string | null | undefined;
427
+ msTenant?: "groups" | "sites" | "onedrive" | "group" | "documents" | "me" | undefined;
428
+ msId?: string | undefined;
429
+ idFolder?: string | undefined;
430
+ };
431
+ }>;
432
+ export type DriveGetDocumentsParams = z.infer<typeof driveGetDocumentsParamsSchema>;
433
+ export declare const driveGetGroupsParamsSchema: z.ZodObject<{
434
+ query: z.ZodOptional<z.ZodString>;
435
+ filter: z.ZodOptional<z.ZodString>;
436
+ id: z.ZodString;
437
+ }, "strip", z.ZodTypeAny, {
438
+ id: string;
439
+ filter?: string | undefined;
440
+ query?: string | undefined;
441
+ }, {
442
+ id: string;
443
+ filter?: string | undefined;
444
+ query?: string | undefined;
445
+ }>;
446
+ export type DriveGetGroupsParams = z.infer<typeof driveGetGroupsParamsSchema>;