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
@@ -15,7 +15,12 @@ export declare const ensureWidgetWrapperProps: (o: unknown) => o is import("../t
15
15
  layers?: string[] | undefined;
16
16
  } & WidgetArticleSliderType) | ({
17
17
  layers?: string[] | undefined;
18
- } & import("../types").WidgetType<import("../types").WidgetCheckListContent>) | ({
18
+ } & import("../types").WidgetType<{
19
+ widgets?: import("../types").WidgetBaseType[] | undefined;
20
+ arr?: import("../types").WidgetCheckListContentArr[] | undefined;
21
+ css?: Record<string, string> | undefined;
22
+ edit?: boolean | undefined;
23
+ }>) | ({
19
24
  layers?: string[] | undefined;
20
25
  } & WidgetDatasourceTableType) | ({
21
26
  layers?: string[] | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jamespot-user-api",
3
- "version": "1.0.185",
3
+ "version": "1.0.187",
4
4
  "main": "lib/jamespot-user-api.js",
5
5
  "types": "lib/src/index.d.ts",
6
6
  "directories": {
@@ -0,0 +1,55 @@
1
+ {
2
+ "o": "article",
3
+ "f": "get",
4
+ "error": 0,
5
+ "messages": [],
6
+ "result": {
7
+ "id": 39,
8
+ "mainType": "article",
9
+ "type": "mpArticle",
10
+ "uri": "mpArticle/39",
11
+ "dateCreation": "2024-09-12 12:10:21",
12
+ "dateModified": "2024-09-12 12:10:21",
13
+ "title": "test",
14
+ "_url": "/article/39",
15
+ "_right": {
16
+ "create": true,
17
+ "read": true,
18
+ "publish": false,
19
+ "administrate": true,
20
+ "update": true,
21
+ "delete": true,
22
+ "comment": true,
23
+ "member": true
24
+ },
25
+ "description": "<div class='content-html'></div>",
26
+ "_user": {
27
+ "id": 4,
28
+ "mainType": "user",
29
+ "type": "user",
30
+ "uri": "user/4",
31
+ "dateCreation": "2019-07-09 15:48:26",
32
+ "dateModified": "2019-07-09 15:51:24",
33
+ "title": "Admin1",
34
+ "_url": "/user/4",
35
+ "level": 9
36
+ },
37
+ "_audience": [],
38
+ "articleWidgets": [],
39
+ "processContext": null,
40
+ "_attachedFiles": [
41
+ {
42
+ "id": 10,
43
+ "mainType": "fileArticle",
44
+ "type": "fileArticle",
45
+ "uri": "fileArticle/10",
46
+ "dateCreation": "2024-09-12 12:10:21",
47
+ "dateModified": "2024-09-12 12:10:21",
48
+ "title": "books.png",
49
+ "size": 12394,
50
+ "mimetype": "image/png",
51
+ "_url": "/article/39"
52
+ }
53
+ ]
54
+ }
55
+ }