jamespot-user-api 1.0.114 → 1.0.116

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 (120) hide show
  1. package/documentation/assets/main.js +2 -2
  2. package/documentation/assets/search.js +1 -1
  3. package/documentation/assets/style.css +3 -2
  4. package/documentation/classes/AdminLicenseApi.html +11 -11
  5. package/documentation/classes/AdminStoreApi.html +1 -1
  6. package/documentation/classes/AdminUtilsApi.html +1 -1
  7. package/documentation/classes/JApplicationApi.html +8 -8
  8. package/documentation/classes/JArticleApi.html +1 -1
  9. package/documentation/classes/JAssetReservation.html +1 -1
  10. package/documentation/classes/JAudienceApi.html +1 -1
  11. package/documentation/classes/JBaseApi.html +1 -1
  12. package/documentation/classes/JBookmarkApi.html +1 -1
  13. package/documentation/classes/JCommunityApi.html +1 -1
  14. package/documentation/classes/JDiapazoneApi.html +1 -1
  15. package/documentation/classes/JFaqApi.html +1 -0
  16. package/documentation/classes/JFileApi.html +5 -5
  17. package/documentation/classes/JFilebankApi.html +1 -1
  18. package/documentation/classes/JGroupApi.html +11 -11
  19. package/documentation/classes/JLandApi.html +1 -1
  20. package/documentation/classes/JMessengerApi.html +1 -1
  21. package/documentation/classes/JSearchApi.html +6 -6
  22. package/documentation/classes/JShareApi.html +1 -1
  23. package/documentation/classes/JTaxonomyApi.html +2 -2
  24. package/documentation/classes/JUserApi.html +5 -5
  25. package/documentation/classes/JWedocApi.html +1 -1
  26. package/documentation/classes/JamespotUserApi.html +2 -2
  27. package/documentation/classes/Network.html +2 -2
  28. package/documentation/classes/TVDisplayApi.html +1 -1
  29. package/documentation/classes/WindowBrowser.html +1 -1
  30. package/documentation/enums/StudioApplicationStatus.html +1 -1
  31. package/documentation/index.html +2 -2
  32. package/documentation/interfaces/AccessRightObject.html +1 -1
  33. package/documentation/interfaces/AdminLicenseUser.html +1 -1
  34. package/documentation/interfaces/ApiDefaultWrapper.html +1 -1
  35. package/documentation/interfaces/ApiWrapper.html +1 -1
  36. package/documentation/interfaces/BaseAutocomplete.html +1 -1
  37. package/documentation/interfaces/BaseMessage.html +1 -1
  38. package/documentation/interfaces/Category.html +1 -1
  39. package/documentation/interfaces/FileBankProps.html +1 -1
  40. package/documentation/interfaces/FolderProps.html +1 -1
  41. package/documentation/interfaces/ListFilterSpec.html +1 -1
  42. package/documentation/interfaces/OF.html +1 -1
  43. package/documentation/interfaces/ObjectListProps.html +1 -1
  44. package/documentation/interfaces/PagingResults.html +1 -1
  45. package/documentation/interfaces/RootFolderProps.html +1 -1
  46. package/documentation/interfaces/SearchCategoryModel.html +1 -1
  47. package/documentation/interfaces/SearchCategoryValue.html +1 -1
  48. package/documentation/interfaces/SearchConfig.html +1 -1
  49. package/documentation/interfaces/SearchFacetModel.html +1 -1
  50. package/documentation/interfaces/SearchFacetValueModel.html +1 -1
  51. package/documentation/interfaces/SearchQuery.html +1 -1
  52. package/documentation/interfaces/SearchQueryFilterModel.html +2 -2
  53. package/documentation/interfaces/SearchQueryOption.html +2 -2
  54. package/documentation/interfaces/SearchQueryResult.html +1 -1
  55. package/documentation/interfaces/SearchQuerySortModel.html +2 -2
  56. package/documentation/interfaces/SearchResultCatProps.html +1 -1
  57. package/documentation/interfaces/SearchResultPropsApp.html +1 -1
  58. package/documentation/interfaces/SearchResultPropsObject.html +1 -1
  59. package/documentation/interfaces/SpotProps.html +1 -1
  60. package/documentation/interfaces/Taxonomy.html +1 -1
  61. package/documentation/interfaces/TaxonomyCreate.html +1 -1
  62. package/documentation/interfaces/WindowInterface.html +1 -1
  63. package/documentation/modules.html +9 -9
  64. package/lib/jamespot-user-api.js +1 -1
  65. package/lib/jamespot-user-api.js.map +1 -1
  66. package/lib/src/apis/application/types.d.ts +6 -6
  67. package/lib/src/apis/article/article.d.ts +14 -7
  68. package/lib/src/apis/article/article.mock.d.ts +2 -0
  69. package/lib/src/apis/faq/faq.d.ts +12 -0
  70. package/lib/src/apis/faq/faq.mock.d.ts +7 -0
  71. package/lib/src/apis/faq/faq.test.d.ts +1 -0
  72. package/lib/src/apis/file.d.ts +1 -8
  73. package/lib/src/apis/filebank.d.ts +3 -3
  74. package/lib/src/apis/index.d.ts +1 -0
  75. package/lib/src/apis/jamespotUserApi.d.ts +2 -0
  76. package/lib/src/apis/jland/jland.d.ts +6 -6
  77. package/lib/src/apis/taxonomy/taxonomy.d.ts +3 -6
  78. package/lib/src/apis/taxonomy/taxonomy.mock.d.ts +3 -3
  79. package/lib/src/apis/taxonomy/types.d.ts +4 -4
  80. package/lib/src/apis/user/user.d.ts +3 -3
  81. package/lib/src/types/adminLicence.d.ts +6 -6
  82. package/lib/src/types/adminStore.d.ts +2 -2
  83. package/lib/src/types/adminUtils.d.ts +3 -3
  84. package/lib/src/types/asei.d.ts +5 -5
  85. package/lib/src/types/assetReservation.d.ts +4 -4
  86. package/lib/src/types/autocomplete.d.ts +6 -6
  87. package/lib/src/types/bookmark.d.ts +5 -5
  88. package/lib/src/types/comment.d.ts +2 -2
  89. package/lib/src/types/diapazone.d.ts +1 -1
  90. package/lib/src/types/drive.d.ts +5 -5
  91. package/lib/src/types/faq.d.ts +30 -0
  92. package/lib/src/types/file.d.ts +12 -11
  93. package/lib/src/types/group.d.ts +13 -13
  94. package/lib/src/types/index.d.ts +1 -0
  95. package/lib/src/types/mediaLibrary.d.ts +3 -3
  96. package/lib/src/types/model.d.ts +32 -32
  97. package/lib/src/types/realtime.d.ts +14 -14
  98. package/lib/src/types/search.d.ts +4 -4
  99. package/lib/src/types/share.d.ts +5 -5
  100. package/lib/src/types/tvDisplay.d.ts +18 -18
  101. package/lib/src/types/uri.d.ts +1 -1
  102. package/lib/src/types/user.d.ts +5 -5
  103. package/lib/src/types/utils.d.ts +29 -29
  104. package/lib/src/types/wedoc.d.ts +2 -2
  105. package/lib/src/types/widgets.d.ts +39 -39
  106. package/lib/src/util/Test.d.ts +2 -1
  107. package/lib/src/util/ensure.d.ts +2 -2
  108. package/lib/src/util/images.d.ts +6 -6
  109. package/lib/src/util/network.d.ts +3 -3
  110. package/lib/src/util/taxonomy.d.ts +3 -0
  111. package/lib/src/window/Window.d.ts +2 -2
  112. package/package.json +72 -73
  113. package/phpunitMock/articleCreate-faq-category.json +51 -0
  114. package/phpunitMock/articleDelete-faq-category.json +12 -0
  115. package/phpunitMock/articleGet-faq-category.json +45 -0
  116. package/phpunitMock/articleGetAttachment-success.json +18 -0
  117. package/phpunitMock/articleUpdate-faq-category.json +49 -0
  118. package/phpunitMock/faqGetFaqTaxonomy-success.json +10 -0
  119. package/phpunitMock/faqGetHookProperties-success.json +9 -0
  120. package/pnpm-lock.yaml +0 -12425
@@ -0,0 +1,51 @@
1
+ {
2
+ "o": "article",
3
+ "f": "create",
4
+ "error": 0,
5
+ "messages": [
6
+ {
7
+ "code": 200,
8
+ "msg": "Enregistrement r\u00e9ussi"
9
+ }
10
+ ],
11
+ "result": [
12
+ {
13
+ "id": 19,
14
+ "mainType": "article",
15
+ "type": "faq",
16
+ "uri": "faq/19",
17
+ "dateCreation": "2023-08-03 12:00:15",
18
+ "dateModified": "2023-08-03 12:00:15",
19
+ "title": "FAQ test",
20
+ "_url": "/ng/app/faq/c/19",
21
+ "_right": {
22
+ "create": true,
23
+ "read": true,
24
+ "publish": false,
25
+ "administrate": true,
26
+ "update": true,
27
+ "delete": true,
28
+ "comment": false,
29
+ "member": true
30
+ },
31
+ "description": "<div class='content-html'>FAQ Category description !</div>",
32
+ "_user": {
33
+ "id": 4,
34
+ "mainType": "user",
35
+ "type": "user",
36
+ "uri": "user/4",
37
+ "dateCreation": "2019-07-09 15:48:26",
38
+ "dateModified": "2019-07-09 15:51:24",
39
+ "title": "Admin1",
40
+ "_url": "/user/4",
41
+ "level": 9
42
+ },
43
+ "processContext": null,
44
+ "faqColor": "#111111",
45
+ "_audience": [],
46
+ "image": null,
47
+ "tags": [],
48
+ "isWeb": false
49
+ }
50
+ ]
51
+ }
@@ -0,0 +1,12 @@
1
+ {
2
+ "o": "article",
3
+ "f": "delete",
4
+ "error": 0,
5
+ "messages": [
6
+ {
7
+ "code": 200,
8
+ "msg": "L'article a \u00e9t\u00e9 supprim\u00e9 avec succ\u00e8s"
9
+ }
10
+ ],
11
+ "result": true
12
+ }
@@ -0,0 +1,45 @@
1
+ {
2
+ "o": "article",
3
+ "f": "get",
4
+ "error": 0,
5
+ "messages": [],
6
+ "result": {
7
+ "id": 416,
8
+ "mainType": "article",
9
+ "type": "faq",
10
+ "uri": "faq/416",
11
+ "dateCreation": "2023-09-12 14:39:30",
12
+ "dateModified": "2023-09-12 14:39:30",
13
+ "title": "CATEGORY 1",
14
+ "_url": "/ng/app/faq/c/416",
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'>description FAQ FOR TEST categorie 1</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": "2023-09-12 10:59:13",
33
+ "title": "Admin1",
34
+ "_url": "/user/4",
35
+ "level": 9
36
+ },
37
+ "processContext": null,
38
+ "faqColor": "",
39
+ "_audience": [],
40
+ "image": null,
41
+ "tags": [],
42
+ "isWeb": false,
43
+ "_nbAttachedFiles": 0
44
+ }
45
+ }
@@ -0,0 +1,18 @@
1
+ {
2
+ "o": "article",
3
+ "f": "getAttachment",
4
+ "error": 0,
5
+ "messages": [],
6
+ "result": [
7
+ {
8
+ "id": 70,
9
+ "mainType": "fileArticle",
10
+ "type": "fileArticle",
11
+ "uri": "fileArticle/70",
12
+ "dateCreation": "2023-09-11 10:56:53",
13
+ "dateModified": "2023-09-11 10:56:53",
14
+ "title": "imgTest.jpg",
15
+ "_url": "/article/416"
16
+ }
17
+ ]
18
+ }
@@ -0,0 +1,49 @@
1
+ {
2
+ "o": "article",
3
+ "f": "update",
4
+ "error": 0,
5
+ "messages": [
6
+ {
7
+ "code": 200,
8
+ "msg": "Enregistrement r\u00e9ussi"
9
+ }
10
+ ],
11
+ "result": {
12
+ "id": 20,
13
+ "mainType": "article",
14
+ "type": "faq",
15
+ "uri": "faq/20",
16
+ "dateCreation": "2023-08-03 12:00:16",
17
+ "dateModified": "2023-08-03 12:00:17",
18
+ "title": "New title",
19
+ "_url": "/ng/app/faq/c/20",
20
+ "_right": {
21
+ "create": true,
22
+ "read": true,
23
+ "publish": false,
24
+ "administrate": true,
25
+ "update": true,
26
+ "delete": true,
27
+ "comment": false,
28
+ "member": true
29
+ },
30
+ "description": "<div class='content-html'>New description</div>",
31
+ "_user": {
32
+ "id": 4,
33
+ "mainType": "user",
34
+ "type": "user",
35
+ "uri": "user/4",
36
+ "dateCreation": "2019-07-09 15:48:26",
37
+ "dateModified": "2019-07-09 15:51:24",
38
+ "title": "Admin1",
39
+ "_url": "/user/4",
40
+ "level": 9
41
+ },
42
+ "processContext": null,
43
+ "faqColor": "#111111",
44
+ "_audience": [],
45
+ "image": null,
46
+ "tags": [],
47
+ "isWeb": false
48
+ }
49
+ }
@@ -0,0 +1,10 @@
1
+ {
2
+ "o": "faq",
3
+ "f": "getFaqTaxonomy",
4
+ "error": 0,
5
+ "messages": [],
6
+ "result": {
7
+ "title": "FAQ_Custom_Taxonomy",
8
+ "id": "3"
9
+ }
10
+ }
@@ -0,0 +1,9 @@
1
+ {
2
+ "o": "faq",
3
+ "f": "getHookProperties",
4
+ "error": 0,
5
+ "messages": [],
6
+ "result": {
7
+ "_web": ""
8
+ }
9
+ }