jamespot-user-api 1.0.179 → 1.0.180

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 (111) 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 +2 -2
  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 +8 -8
  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/Category.html +1 -1
  47. package/documentation/interfaces/FileBankProps.html +1 -1
  48. package/documentation/interfaces/FolderProps.html +1 -1
  49. package/documentation/interfaces/ListFilterSpec.html +1 -1
  50. package/documentation/interfaces/OF.html +1 -1
  51. package/documentation/interfaces/PagingResults.html +1 -1
  52. package/documentation/interfaces/RootFolderProps.html +1 -1
  53. package/documentation/interfaces/SpotProps.html +1 -1
  54. package/documentation/interfaces/TaxonomyCreate.html +1 -1
  55. package/documentation/interfaces/WidgetType.html +1 -1
  56. package/documentation/interfaces/WindowInterface.html +1 -1
  57. package/documentation/modules.html +11 -11
  58. package/jest.config.ts +2 -2
  59. package/lib/jamespot-user-api.js +1 -1
  60. package/lib/jamespot-user-api.js.map +1 -1
  61. package/lib/src/apis/admin/license.d.ts +2 -2
  62. package/lib/src/apis/admin/utils.d.ts +2 -2
  63. package/lib/src/apis/bookmark/bookmark.d.ts +18 -18
  64. package/lib/src/apis/datasource/datasource.d.ts +1 -1
  65. package/lib/src/apis/filebank/filebank.d.ts +19 -19
  66. package/lib/src/apis/filebank/filebank.mock.d.ts +11 -2
  67. package/lib/src/apis/user/user.d.ts +15 -111
  68. package/lib/src/types/adminLicence.d.ts +31 -56
  69. package/lib/src/types/adminUtils.d.ts +14 -14
  70. package/lib/src/types/article.d.ts +3160 -7359
  71. package/lib/src/types/asei.d.ts +197 -822
  72. package/lib/src/types/assetReservation.d.ts +1352 -4283
  73. package/lib/src/types/autocomplete.d.ts +55 -36
  74. package/lib/src/types/bookmark.d.ts +222 -234
  75. package/lib/src/types/businessContact.d.ts +243 -880
  76. package/lib/src/types/comment.d.ts +200 -900
  77. package/lib/src/types/diapazone.d.ts +77 -11
  78. package/lib/src/types/drive.d.ts +27 -21
  79. package/lib/src/types/faq.d.ts +2077 -5450
  80. package/lib/src/types/file.d.ts +18 -9
  81. package/lib/src/types/group.d.ts +10 -6
  82. package/lib/src/types/license.d.ts +12 -48
  83. package/lib/src/types/link.d.ts +25 -14
  84. package/lib/src/types/mediaLibrary.d.ts +223 -820
  85. package/lib/src/types/meeting.d.ts +1104 -3044
  86. package/lib/src/types/model.d.ts +3 -0
  87. package/lib/src/types/object.d.ts +90 -10
  88. package/lib/src/types/objectBase.d.ts +4 -3
  89. package/lib/src/types/pollSurvey.d.ts +1075 -3015
  90. package/lib/src/types/quizz.d.ts +1002 -2942
  91. package/lib/src/types/search.d.ts +134 -131
  92. package/lib/src/types/share.d.ts +130 -60
  93. package/lib/src/types/socialEvent.d.ts +1002 -2942
  94. package/lib/src/types/support.d.ts +1125 -3059
  95. package/lib/src/types/surveyDate.d.ts +1005 -2941
  96. package/lib/src/types/tinymce.d.ts +4 -3
  97. package/lib/src/types/tvDisplay.d.ts +2 -2
  98. package/lib/src/types/user.d.ts +72 -45
  99. package/lib/src/types/utils.d.ts +17 -89
  100. package/lib/src/types/widgets/default.d.ts +365 -1642
  101. package/lib/src/types/widgets/widgetArticleButton.d.ts +5 -4
  102. package/lib/src/types/widgets/widgetDatasourceTable.d.ts +37 -76
  103. package/lib/src/types/widgets/widgetExcelDatasourceTable.d.ts +39 -33
  104. package/lib/src/types/widgets.d.ts +4268 -11774
  105. package/lib/src/util/Test.d.ts +64 -660
  106. package/package.json +1 -2
  107. package/phpunitMock/fileBankGetBanks-success.json +69 -0
  108. package/phpunitMock/fileBankGetDocuments-success.json +110 -0
  109. package/phpunitMock/fileBankGetFolders-success.json +188 -0
  110. package/phpunitMock/fileBankGetPath-success.json +43 -43
  111. package/phpunitMock/fileBankSearchContent-success.json +45 -0
@@ -67,9 +67,7 @@ export declare const widgetButtonPropsSchema: z.ZodObject<{
67
67
  url: z.ZodOptionalType<z.ZodType<string | undefined, z.ZodTypeDef, string | undefined>>;
68
68
  target: z.ZodOptionalType<z.ZodType<string | undefined, z.ZodTypeDef, string | undefined>>;
69
69
  }, "strip", z.ZodTypeAny, WidgetButtonProps, WidgetButtonProps>;
70
- export declare const widgetArticleButtonContentSchema: z.ZodObject<{
71
- url: z.ZodOptionalType<z.ZodType<string | undefined, z.ZodTypeDef, string | undefined>>;
72
- target: z.ZodOptionalType<z.ZodType<string | undefined, z.ZodTypeDef, string | undefined>>;
70
+ export declare const widgetArticleButtonContentSchema: z.ZodObject<z.objectUtil.extendShape<{
73
71
  text: z.ZodOptionalType<z.ZodType<string | undefined, z.ZodTypeDef, string | undefined>>;
74
72
  color: z.ZodOptionalType<z.ZodType<string | undefined, z.ZodTypeDef, string | undefined>>;
75
73
  backgroundColor: z.ZodOptionalType<z.ZodType<string | undefined, z.ZodTypeDef, string | undefined>>;
@@ -77,6 +75,9 @@ export declare const widgetArticleButtonContentSchema: z.ZodObject<{
77
75
  fontSize: z.ZodOptionalType<z.ZodType<string | undefined, z.ZodTypeDef, string | undefined>>;
78
76
  buttonSize: z.ZodOptionalType<z.ZodType<"sm" | "md" | "lg" | undefined, z.ZodTypeDef, "sm" | "md" | "lg" | undefined>>;
79
77
  variant: z.ZodOptionalType<z.ZodType<"contained" | "outlined" | undefined, z.ZodTypeDef, "contained" | "outlined" | undefined>>;
78
+ url: z.ZodOptionalType<z.ZodType<string | undefined, z.ZodTypeDef, string | undefined>>;
79
+ target: z.ZodOptionalType<z.ZodType<string | undefined, z.ZodTypeDef, string | undefined>>;
80
+ }, {
80
81
  openingType: z.ZodOptional<z.ZodEnum<["link", "anchor", "popup"]>>;
81
82
  openingTypeLink: z.ZodOptional<z.ZodObject<{
82
83
  url: z.ZodString;
@@ -120,7 +121,7 @@ export declare const widgetArticleButtonContentSchema: z.ZodObject<{
120
121
  title: string;
121
122
  widgets: import("./common").WidgetBaseType[];
122
123
  }>>;
123
- }, "strip", z.ZodTypeAny, {
124
+ }>, "strip", z.ZodTypeAny, {
124
125
  url?: string | undefined;
125
126
  target?: string | undefined;
126
127
  text?: string | undefined;
@@ -109,17 +109,17 @@ export declare const widgetTableColumnDataSchema: z.ZodObject<{
109
109
  numberFormat: z.ZodOptional<z.ZodEnum<["fr-FR", "en-EN", "filesize"]>>;
110
110
  }, "strip", z.ZodTypeAny, {
111
111
  name?: string | undefined;
112
+ label?: string | undefined;
112
113
  isVisible?: boolean | undefined;
113
114
  textEllipsis?: boolean | undefined;
114
- label?: string | undefined;
115
- dateFormat?: "date" | "date-time" | "date-time-sec" | "time" | "time-sec" | undefined;
115
+ dateFormat?: "date" | "time" | "date-time" | "date-time-sec" | "time-sec" | undefined;
116
116
  numberFormat?: "fr-FR" | "en-EN" | "filesize" | undefined;
117
117
  }, {
118
118
  name?: string | undefined;
119
+ label?: string | undefined;
119
120
  isVisible?: boolean | undefined;
120
121
  textEllipsis?: boolean | undefined;
121
- label?: string | undefined;
122
- dateFormat?: "date" | "date-time" | "date-time-sec" | "time" | "time-sec" | undefined;
122
+ dateFormat?: "date" | "time" | "date-time" | "date-time-sec" | "time-sec" | undefined;
123
123
  numberFormat?: "fr-FR" | "en-EN" | "filesize" | undefined;
124
124
  }>;
125
125
  export type WidgetTableColumnData = z.infer<typeof widgetTableColumnDataSchema>;
@@ -132,17 +132,17 @@ export declare const widgetTableColumnsData: z.ZodArray<z.ZodObject<{
132
132
  numberFormat: z.ZodOptional<z.ZodEnum<["fr-FR", "en-EN", "filesize"]>>;
133
133
  }, "strip", z.ZodTypeAny, {
134
134
  name?: string | undefined;
135
+ label?: string | undefined;
135
136
  isVisible?: boolean | undefined;
136
137
  textEllipsis?: boolean | undefined;
137
- label?: string | undefined;
138
- dateFormat?: "date" | "date-time" | "date-time-sec" | "time" | "time-sec" | undefined;
138
+ dateFormat?: "date" | "time" | "date-time" | "date-time-sec" | "time-sec" | undefined;
139
139
  numberFormat?: "fr-FR" | "en-EN" | "filesize" | undefined;
140
140
  }, {
141
141
  name?: string | undefined;
142
+ label?: string | undefined;
142
143
  isVisible?: boolean | undefined;
143
144
  textEllipsis?: boolean | undefined;
144
- label?: string | undefined;
145
- dateFormat?: "date" | "date-time" | "date-time-sec" | "time" | "time-sec" | undefined;
145
+ dateFormat?: "date" | "time" | "date-time" | "date-time-sec" | "time-sec" | undefined;
146
146
  numberFormat?: "fr-FR" | "en-EN" | "filesize" | undefined;
147
147
  }>, "many">;
148
148
  export type WidgetTableColumnsData = z.infer<typeof widgetTableColumnsData>;
@@ -204,27 +204,7 @@ export declare const widgetTableColumnSchema: z.ZodObject<{
204
204
  type: "select";
205
205
  } | {
206
206
  type: "date";
207
- } | ({} & {
208
- type: "text";
209
- }) | ({} & {
210
- options: {
211
- value: string;
212
- label: string;
213
- }[];
214
- type: "select";
215
- }) | ({} & {
216
- type: "date";
217
- }) | ({
218
- type: "text";
219
- } & {}) | ({
220
- options: {
221
- value: string;
222
- label: string;
223
- }[];
224
- type: "select";
225
- } & {}) | ({
226
- type: "date";
227
- } & {});
207
+ };
228
208
  sortable?: boolean | undefined;
229
209
  }, {
230
210
  type: "number" | "uri" | "title" | "file" | "url" | "date" | "text" | "datetime" | "select" | "email" | "transient";
@@ -240,27 +220,7 @@ export declare const widgetTableColumnSchema: z.ZodObject<{
240
220
  type: "select";
241
221
  } | {
242
222
  type: "date";
243
- } | ({} & {
244
- type: "text";
245
- }) | ({} & {
246
- options: {
247
- value: string;
248
- label: string;
249
- }[];
250
- type: "select";
251
- }) | ({} & {
252
- type: "date";
253
- }) | ({
254
- type: "text";
255
- } & {}) | ({
256
- options: {
257
- value: string;
258
- label: string;
259
- }[];
260
- type: "select";
261
- } & {}) | ({
262
- type: "date";
263
- } & {});
223
+ };
264
224
  sortable?: boolean | undefined;
265
225
  }>;
266
226
  export type WidgetTableColumn = z.infer<typeof widgetTableColumnSchema>;
@@ -275,17 +235,17 @@ export declare const widgetTableContentSchema: z.ZodObject<{
275
235
  numberFormat: z.ZodOptional<z.ZodEnum<["fr-FR", "en-EN", "filesize"]>>;
276
236
  }, "strip", z.ZodTypeAny, {
277
237
  name?: string | undefined;
238
+ label?: string | undefined;
278
239
  isVisible?: boolean | undefined;
279
240
  textEllipsis?: boolean | undefined;
280
- label?: string | undefined;
281
- dateFormat?: "date" | "date-time" | "date-time-sec" | "time" | "time-sec" | undefined;
241
+ dateFormat?: "date" | "time" | "date-time" | "date-time-sec" | "time-sec" | undefined;
282
242
  numberFormat?: "fr-FR" | "en-EN" | "filesize" | undefined;
283
243
  }, {
284
244
  name?: string | undefined;
245
+ label?: string | undefined;
285
246
  isVisible?: boolean | undefined;
286
247
  textEllipsis?: boolean | undefined;
287
- label?: string | undefined;
288
- dateFormat?: "date" | "date-time" | "date-time-sec" | "time" | "time-sec" | undefined;
248
+ dateFormat?: "date" | "time" | "date-time" | "date-time-sec" | "time-sec" | undefined;
289
249
  numberFormat?: "fr-FR" | "en-EN" | "filesize" | undefined;
290
250
  }>, "many">>;
291
251
  tableHeadColor: z.ZodOptional<z.ZodString>;
@@ -300,10 +260,10 @@ export declare const widgetTableContentSchema: z.ZodObject<{
300
260
  limit?: number | undefined;
301
261
  tableColumnsData?: {
302
262
  name?: string | undefined;
263
+ label?: string | undefined;
303
264
  isVisible?: boolean | undefined;
304
265
  textEllipsis?: boolean | undefined;
305
- label?: string | undefined;
306
- dateFormat?: "date" | "date-time" | "date-time-sec" | "time" | "time-sec" | undefined;
266
+ dateFormat?: "date" | "time" | "date-time" | "date-time-sec" | "time-sec" | undefined;
307
267
  numberFormat?: "fr-FR" | "en-EN" | "filesize" | undefined;
308
268
  }[] | undefined;
309
269
  tableHeadColor?: string | undefined;
@@ -318,10 +278,10 @@ export declare const widgetTableContentSchema: z.ZodObject<{
318
278
  limit?: number | undefined;
319
279
  tableColumnsData?: {
320
280
  name?: string | undefined;
281
+ label?: string | undefined;
321
282
  isVisible?: boolean | undefined;
322
283
  textEllipsis?: boolean | undefined;
323
- label?: string | undefined;
324
- dateFormat?: "date" | "date-time" | "date-time-sec" | "time" | "time-sec" | undefined;
284
+ dateFormat?: "date" | "time" | "date-time" | "date-time-sec" | "time-sec" | undefined;
325
285
  numberFormat?: "fr-FR" | "en-EN" | "filesize" | undefined;
326
286
  }[] | undefined;
327
287
  tableHeadColor?: string | undefined;
@@ -335,7 +295,7 @@ export declare const widgetTableContentSchema: z.ZodObject<{
335
295
  }>;
336
296
  export type WidgetTableContent = z.infer<typeof widgetTableContentSchema>;
337
297
  export type WidgetDatasourceValues = string | number | DatasourceDataTypeUrl;
338
- export declare const widgetDatasourceTableContentSchema: z.ZodObject<{
298
+ export declare const widgetDatasourceTableContentSchema: z.ZodObject<z.objectUtil.extendShape<{
339
299
  limit: z.ZodOptional<z.ZodNumber>;
340
300
  tableColumnsData: z.ZodOptional<z.ZodArray<z.ZodObject<{
341
301
  name: z.ZodOptional<z.ZodString>;
@@ -346,17 +306,17 @@ export declare const widgetDatasourceTableContentSchema: z.ZodObject<{
346
306
  numberFormat: z.ZodOptional<z.ZodEnum<["fr-FR", "en-EN", "filesize"]>>;
347
307
  }, "strip", z.ZodTypeAny, {
348
308
  name?: string | undefined;
309
+ label?: string | undefined;
349
310
  isVisible?: boolean | undefined;
350
311
  textEllipsis?: boolean | undefined;
351
- label?: string | undefined;
352
- dateFormat?: "date" | "date-time" | "date-time-sec" | "time" | "time-sec" | undefined;
312
+ dateFormat?: "date" | "time" | "date-time" | "date-time-sec" | "time-sec" | undefined;
353
313
  numberFormat?: "fr-FR" | "en-EN" | "filesize" | undefined;
354
314
  }, {
355
315
  name?: string | undefined;
316
+ label?: string | undefined;
356
317
  isVisible?: boolean | undefined;
357
318
  textEllipsis?: boolean | undefined;
358
- label?: string | undefined;
359
- dateFormat?: "date" | "date-time" | "date-time-sec" | "time" | "time-sec" | undefined;
319
+ dateFormat?: "date" | "time" | "date-time" | "date-time-sec" | "time-sec" | undefined;
360
320
  numberFormat?: "fr-FR" | "en-EN" | "filesize" | undefined;
361
321
  }>, "many">>;
362
322
  tableHeadColor: z.ZodOptional<z.ZodString>;
@@ -367,15 +327,17 @@ export declare const widgetDatasourceTableContentSchema: z.ZodObject<{
367
327
  tableBorderRadius: z.ZodOptional<z.ZodNumber>;
368
328
  tableSizedColumns: z.ZodOptional<z.ZodBoolean>;
369
329
  tableSizedColumnsWidth: z.ZodOptional<z.ZodNumber>;
330
+ }, {
370
331
  uri: z.ZodOptional<z.ZodString>;
371
- }, "strip", z.ZodTypeAny, {
332
+ }>, "strip", z.ZodTypeAny, {
333
+ uri?: string | undefined;
372
334
  limit?: number | undefined;
373
335
  tableColumnsData?: {
374
336
  name?: string | undefined;
337
+ label?: string | undefined;
375
338
  isVisible?: boolean | undefined;
376
339
  textEllipsis?: boolean | undefined;
377
- label?: string | undefined;
378
- dateFormat?: "date" | "date-time" | "date-time-sec" | "time" | "time-sec" | undefined;
340
+ dateFormat?: "date" | "time" | "date-time" | "date-time-sec" | "time-sec" | undefined;
379
341
  numberFormat?: "fr-FR" | "en-EN" | "filesize" | undefined;
380
342
  }[] | undefined;
381
343
  tableHeadColor?: string | undefined;
@@ -386,15 +348,15 @@ export declare const widgetDatasourceTableContentSchema: z.ZodObject<{
386
348
  tableBorderRadius?: number | undefined;
387
349
  tableSizedColumns?: boolean | undefined;
388
350
  tableSizedColumnsWidth?: number | undefined;
389
- uri?: string | undefined;
390
351
  }, {
352
+ uri?: string | undefined;
391
353
  limit?: number | undefined;
392
354
  tableColumnsData?: {
393
355
  name?: string | undefined;
356
+ label?: string | undefined;
394
357
  isVisible?: boolean | undefined;
395
358
  textEllipsis?: boolean | undefined;
396
- label?: string | undefined;
397
- dateFormat?: "date" | "date-time" | "date-time-sec" | "time" | "time-sec" | undefined;
359
+ dateFormat?: "date" | "time" | "date-time" | "date-time-sec" | "time-sec" | undefined;
398
360
  numberFormat?: "fr-FR" | "en-EN" | "filesize" | undefined;
399
361
  }[] | undefined;
400
362
  tableHeadColor?: string | undefined;
@@ -405,7 +367,6 @@ export declare const widgetDatasourceTableContentSchema: z.ZodObject<{
405
367
  tableBorderRadius?: number | undefined;
406
368
  tableSizedColumns?: boolean | undefined;
407
369
  tableSizedColumnsWidth?: number | undefined;
408
- uri?: string | undefined;
409
370
  }>;
410
371
  export type WidgetDatasourceTableContent = z.infer<typeof widgetDatasourceTableContentSchema>;
411
372
  export type WidgetDatasourceTableType = {
@@ -417,13 +378,14 @@ export declare const widgetDatasourceTableTypeSchema: z.ZodObject<{
417
378
  name: z.ZodType<WidgetsName.DatasourceTable, z.ZodTypeDef, WidgetsName.DatasourceTable>;
418
379
  uniqid: z.ZodType<string, z.ZodTypeDef, string>;
419
380
  content: z.ZodType<{
381
+ uri?: string | undefined;
420
382
  limit?: number | undefined;
421
383
  tableColumnsData?: {
422
384
  name?: string | undefined;
385
+ label?: string | undefined;
423
386
  isVisible?: boolean | undefined;
424
387
  textEllipsis?: boolean | undefined;
425
- label?: string | undefined;
426
- dateFormat?: "date" | "date-time" | "date-time-sec" | "time" | "time-sec" | undefined;
388
+ dateFormat?: "date" | "time" | "date-time" | "date-time-sec" | "time-sec" | undefined;
427
389
  numberFormat?: "fr-FR" | "en-EN" | "filesize" | undefined;
428
390
  }[] | undefined;
429
391
  tableHeadColor?: string | undefined;
@@ -434,15 +396,15 @@ export declare const widgetDatasourceTableTypeSchema: z.ZodObject<{
434
396
  tableBorderRadius?: number | undefined;
435
397
  tableSizedColumns?: boolean | undefined;
436
398
  tableSizedColumnsWidth?: number | undefined;
437
- uri?: string | undefined;
438
399
  }, z.ZodTypeDef, {
400
+ uri?: string | undefined;
439
401
  limit?: number | undefined;
440
402
  tableColumnsData?: {
441
403
  name?: string | undefined;
404
+ label?: string | undefined;
442
405
  isVisible?: boolean | undefined;
443
406
  textEllipsis?: boolean | undefined;
444
- label?: string | undefined;
445
- dateFormat?: "date" | "date-time" | "date-time-sec" | "time" | "time-sec" | undefined;
407
+ dateFormat?: "date" | "time" | "date-time" | "date-time-sec" | "time-sec" | undefined;
446
408
  numberFormat?: "fr-FR" | "en-EN" | "filesize" | undefined;
447
409
  }[] | undefined;
448
410
  tableHeadColor?: string | undefined;
@@ -453,7 +415,6 @@ export declare const widgetDatasourceTableTypeSchema: z.ZodObject<{
453
415
  tableBorderRadius?: number | undefined;
454
416
  tableSizedColumns?: boolean | undefined;
455
417
  tableSizedColumnsWidth?: number | undefined;
456
- uri?: string | undefined;
457
418
  }>;
458
419
  }, "strip", z.ZodTypeAny, WidgetDatasourceTableType, WidgetDatasourceTableType>;
459
420
  export declare const ensureWidgetDatasourceTableType: (widget: unknown) => widget is WidgetDatasourceTableType;
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
2
  import { WidgetsName } from './common';
3
- export declare const widgetExcelDatasourceTableContentSchema: z.ZodObject<{
3
+ export declare const widgetExcelDatasourceTableContentSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
4
4
  limit: z.ZodOptional<z.ZodNumber>;
5
5
  tableColumnsData: z.ZodOptional<z.ZodArray<z.ZodObject<{
6
6
  name: z.ZodOptional<z.ZodString>;
@@ -11,17 +11,17 @@ export declare const widgetExcelDatasourceTableContentSchema: z.ZodObject<{
11
11
  numberFormat: z.ZodOptional<z.ZodEnum<["fr-FR", "en-EN", "filesize"]>>;
12
12
  }, "strip", z.ZodTypeAny, {
13
13
  name?: string | undefined;
14
+ label?: string | undefined;
14
15
  isVisible?: boolean | undefined;
15
16
  textEllipsis?: boolean | undefined;
16
- label?: string | undefined;
17
- dateFormat?: "date" | "date-time" | "date-time-sec" | "time" | "time-sec" | undefined;
17
+ dateFormat?: "date" | "time" | "date-time" | "date-time-sec" | "time-sec" | undefined;
18
18
  numberFormat?: "fr-FR" | "en-EN" | "filesize" | undefined;
19
19
  }, {
20
20
  name?: string | undefined;
21
+ label?: string | undefined;
21
22
  isVisible?: boolean | undefined;
22
23
  textEllipsis?: boolean | undefined;
23
- label?: string | undefined;
24
- dateFormat?: "date" | "date-time" | "date-time-sec" | "time" | "time-sec" | undefined;
24
+ dateFormat?: "date" | "time" | "date-time" | "date-time-sec" | "time-sec" | undefined;
25
25
  numberFormat?: "fr-FR" | "en-EN" | "filesize" | undefined;
26
26
  }>, "many">>;
27
27
  tableHeadColor: z.ZodOptional<z.ZodString>;
@@ -32,15 +32,19 @@ export declare const widgetExcelDatasourceTableContentSchema: z.ZodObject<{
32
32
  tableBorderRadius: z.ZodOptional<z.ZodNumber>;
33
33
  tableSizedColumns: z.ZodOptional<z.ZodBoolean>;
34
34
  tableSizedColumnsWidth: z.ZodOptional<z.ZodNumber>;
35
+ }, {
35
36
  uri: z.ZodOptional<z.ZodString>;
36
- }, "strip", z.ZodTypeAny, {
37
+ }>, {
38
+ uri: z.ZodOptional<z.ZodString>;
39
+ }>, "strip", z.ZodTypeAny, {
40
+ uri?: string | undefined;
37
41
  limit?: number | undefined;
38
42
  tableColumnsData?: {
39
43
  name?: string | undefined;
44
+ label?: string | undefined;
40
45
  isVisible?: boolean | undefined;
41
46
  textEllipsis?: boolean | undefined;
42
- label?: string | undefined;
43
- dateFormat?: "date" | "date-time" | "date-time-sec" | "time" | "time-sec" | undefined;
47
+ dateFormat?: "date" | "time" | "date-time" | "date-time-sec" | "time-sec" | undefined;
44
48
  numberFormat?: "fr-FR" | "en-EN" | "filesize" | undefined;
45
49
  }[] | undefined;
46
50
  tableHeadColor?: string | undefined;
@@ -51,15 +55,15 @@ export declare const widgetExcelDatasourceTableContentSchema: z.ZodObject<{
51
55
  tableBorderRadius?: number | undefined;
52
56
  tableSizedColumns?: boolean | undefined;
53
57
  tableSizedColumnsWidth?: number | undefined;
54
- uri?: string | undefined;
55
58
  }, {
59
+ uri?: string | undefined;
56
60
  limit?: number | undefined;
57
61
  tableColumnsData?: {
58
62
  name?: string | undefined;
63
+ label?: string | undefined;
59
64
  isVisible?: boolean | undefined;
60
65
  textEllipsis?: boolean | undefined;
61
- label?: string | undefined;
62
- dateFormat?: "date" | "date-time" | "date-time-sec" | "time" | "time-sec" | undefined;
66
+ dateFormat?: "date" | "time" | "date-time" | "date-time-sec" | "time-sec" | undefined;
63
67
  numberFormat?: "fr-FR" | "en-EN" | "filesize" | undefined;
64
68
  }[] | undefined;
65
69
  tableHeadColor?: string | undefined;
@@ -70,13 +74,12 @@ export declare const widgetExcelDatasourceTableContentSchema: z.ZodObject<{
70
74
  tableBorderRadius?: number | undefined;
71
75
  tableSizedColumns?: boolean | undefined;
72
76
  tableSizedColumnsWidth?: number | undefined;
73
- uri?: string | undefined;
74
77
  }>;
75
78
  export type WidgetExcelDatasourceTableContent = z.infer<typeof widgetExcelDatasourceTableContentSchema>;
76
79
  export declare const widgetExcelDatasourceTableTypeSchema: z.ZodLazy<z.ZodObject<{
77
80
  name: z.ZodLiteral<WidgetsName.ExcelDatasourceTable>;
78
81
  uniqid: z.ZodString;
79
- content: z.ZodObject<{
82
+ content: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
80
83
  limit: z.ZodOptional<z.ZodNumber>;
81
84
  tableColumnsData: z.ZodOptional<z.ZodArray<z.ZodObject<{
82
85
  name: z.ZodOptional<z.ZodString>;
@@ -87,17 +90,17 @@ export declare const widgetExcelDatasourceTableTypeSchema: z.ZodLazy<z.ZodObject
87
90
  numberFormat: z.ZodOptional<z.ZodEnum<["fr-FR", "en-EN", "filesize"]>>;
88
91
  }, "strip", z.ZodTypeAny, {
89
92
  name?: string | undefined;
93
+ label?: string | undefined;
90
94
  isVisible?: boolean | undefined;
91
95
  textEllipsis?: boolean | undefined;
92
- label?: string | undefined;
93
- dateFormat?: "date" | "date-time" | "date-time-sec" | "time" | "time-sec" | undefined;
96
+ dateFormat?: "date" | "time" | "date-time" | "date-time-sec" | "time-sec" | undefined;
94
97
  numberFormat?: "fr-FR" | "en-EN" | "filesize" | undefined;
95
98
  }, {
96
99
  name?: string | undefined;
100
+ label?: string | undefined;
97
101
  isVisible?: boolean | undefined;
98
102
  textEllipsis?: boolean | undefined;
99
- label?: string | undefined;
100
- dateFormat?: "date" | "date-time" | "date-time-sec" | "time" | "time-sec" | undefined;
103
+ dateFormat?: "date" | "time" | "date-time" | "date-time-sec" | "time-sec" | undefined;
101
104
  numberFormat?: "fr-FR" | "en-EN" | "filesize" | undefined;
102
105
  }>, "many">>;
103
106
  tableHeadColor: z.ZodOptional<z.ZodString>;
@@ -108,15 +111,19 @@ export declare const widgetExcelDatasourceTableTypeSchema: z.ZodLazy<z.ZodObject
108
111
  tableBorderRadius: z.ZodOptional<z.ZodNumber>;
109
112
  tableSizedColumns: z.ZodOptional<z.ZodBoolean>;
110
113
  tableSizedColumnsWidth: z.ZodOptional<z.ZodNumber>;
114
+ }, {
111
115
  uri: z.ZodOptional<z.ZodString>;
112
- }, "strip", z.ZodTypeAny, {
116
+ }>, {
117
+ uri: z.ZodOptional<z.ZodString>;
118
+ }>, "strip", z.ZodTypeAny, {
119
+ uri?: string | undefined;
113
120
  limit?: number | undefined;
114
121
  tableColumnsData?: {
115
122
  name?: string | undefined;
123
+ label?: string | undefined;
116
124
  isVisible?: boolean | undefined;
117
125
  textEllipsis?: boolean | undefined;
118
- label?: string | undefined;
119
- dateFormat?: "date" | "date-time" | "date-time-sec" | "time" | "time-sec" | undefined;
126
+ dateFormat?: "date" | "time" | "date-time" | "date-time-sec" | "time-sec" | undefined;
120
127
  numberFormat?: "fr-FR" | "en-EN" | "filesize" | undefined;
121
128
  }[] | undefined;
122
129
  tableHeadColor?: string | undefined;
@@ -127,15 +134,15 @@ export declare const widgetExcelDatasourceTableTypeSchema: z.ZodLazy<z.ZodObject
127
134
  tableBorderRadius?: number | undefined;
128
135
  tableSizedColumns?: boolean | undefined;
129
136
  tableSizedColumnsWidth?: number | undefined;
130
- uri?: string | undefined;
131
137
  }, {
138
+ uri?: string | undefined;
132
139
  limit?: number | undefined;
133
140
  tableColumnsData?: {
134
141
  name?: string | undefined;
142
+ label?: string | undefined;
135
143
  isVisible?: boolean | undefined;
136
144
  textEllipsis?: boolean | undefined;
137
- label?: string | undefined;
138
- dateFormat?: "date" | "date-time" | "date-time-sec" | "time" | "time-sec" | undefined;
145
+ dateFormat?: "date" | "time" | "date-time" | "date-time-sec" | "time-sec" | undefined;
139
146
  numberFormat?: "fr-FR" | "en-EN" | "filesize" | undefined;
140
147
  }[] | undefined;
141
148
  tableHeadColor?: string | undefined;
@@ -146,19 +153,19 @@ export declare const widgetExcelDatasourceTableTypeSchema: z.ZodLazy<z.ZodObject
146
153
  tableBorderRadius?: number | undefined;
147
154
  tableSizedColumns?: boolean | undefined;
148
155
  tableSizedColumnsWidth?: number | undefined;
149
- uri?: string | undefined;
150
156
  }>;
151
157
  }, "strip", z.ZodTypeAny, {
152
158
  name: WidgetsName.ExcelDatasourceTable;
153
159
  uniqid: string;
154
160
  content: {
161
+ uri?: string | undefined;
155
162
  limit?: number | undefined;
156
163
  tableColumnsData?: {
157
164
  name?: string | undefined;
165
+ label?: string | undefined;
158
166
  isVisible?: boolean | undefined;
159
167
  textEllipsis?: boolean | undefined;
160
- label?: string | undefined;
161
- dateFormat?: "date" | "date-time" | "date-time-sec" | "time" | "time-sec" | undefined;
168
+ dateFormat?: "date" | "time" | "date-time" | "date-time-sec" | "time-sec" | undefined;
162
169
  numberFormat?: "fr-FR" | "en-EN" | "filesize" | undefined;
163
170
  }[] | undefined;
164
171
  tableHeadColor?: string | undefined;
@@ -169,19 +176,19 @@ export declare const widgetExcelDatasourceTableTypeSchema: z.ZodLazy<z.ZodObject
169
176
  tableBorderRadius?: number | undefined;
170
177
  tableSizedColumns?: boolean | undefined;
171
178
  tableSizedColumnsWidth?: number | undefined;
172
- uri?: string | undefined;
173
179
  };
174
180
  }, {
175
181
  name: WidgetsName.ExcelDatasourceTable;
176
182
  uniqid: string;
177
183
  content: {
184
+ uri?: string | undefined;
178
185
  limit?: number | undefined;
179
186
  tableColumnsData?: {
180
187
  name?: string | undefined;
188
+ label?: string | undefined;
181
189
  isVisible?: boolean | undefined;
182
190
  textEllipsis?: boolean | undefined;
183
- label?: string | undefined;
184
- dateFormat?: "date" | "date-time" | "date-time-sec" | "time" | "time-sec" | undefined;
191
+ dateFormat?: "date" | "time" | "date-time" | "date-time-sec" | "time-sec" | undefined;
185
192
  numberFormat?: "fr-FR" | "en-EN" | "filesize" | undefined;
186
193
  }[] | undefined;
187
194
  tableHeadColor?: string | undefined;
@@ -192,7 +199,6 @@ export declare const widgetExcelDatasourceTableTypeSchema: z.ZodLazy<z.ZodObject
192
199
  tableBorderRadius?: number | undefined;
193
200
  tableSizedColumns?: boolean | undefined;
194
201
  tableSizedColumnsWidth?: number | undefined;
195
- uri?: string | undefined;
196
202
  };
197
203
  }>>;
198
204
  export type WidgetExcelDatasourceTableType = z.infer<typeof widgetExcelDatasourceTableTypeSchema>;
@@ -200,13 +206,14 @@ export declare const ensureWidgetExcelDatasourceTableType: (widget: unknown) =>
200
206
  name: WidgetsName.ExcelDatasourceTable;
201
207
  uniqid: string;
202
208
  content: {
209
+ uri?: string | undefined;
203
210
  limit?: number | undefined;
204
211
  tableColumnsData?: {
205
212
  name?: string | undefined;
213
+ label?: string | undefined;
206
214
  isVisible?: boolean | undefined;
207
215
  textEllipsis?: boolean | undefined;
208
- label?: string | undefined;
209
- dateFormat?: "date" | "date-time" | "date-time-sec" | "time" | "time-sec" | undefined;
216
+ dateFormat?: "date" | "time" | "date-time" | "date-time-sec" | "time-sec" | undefined;
210
217
  numberFormat?: "fr-FR" | "en-EN" | "filesize" | undefined;
211
218
  }[] | undefined;
212
219
  tableHeadColor?: string | undefined;
@@ -217,6 +224,5 @@ export declare const ensureWidgetExcelDatasourceTableType: (widget: unknown) =>
217
224
  tableBorderRadius?: number | undefined;
218
225
  tableSizedColumns?: boolean | undefined;
219
226
  tableSizedColumnsWidth?: number | undefined;
220
- uri?: string | undefined;
221
227
  };
222
228
  };