jamespot-user-api 1.0.97 → 1.0.99

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 (146) hide show
  1. package/documentation/assets/search.js +1 -1
  2. package/documentation/classes/AdminStoreApi.html +1 -1
  3. package/documentation/classes/JApplicationApi.html +11 -11
  4. package/documentation/classes/JArticleApi.html +1 -1
  5. package/documentation/classes/JAssetReservation.html +1 -1
  6. package/documentation/classes/JAudienceApi.html +2 -2
  7. package/documentation/classes/JBaseApi.html +1 -1
  8. package/documentation/classes/JBookmarkApi.html +1 -1
  9. package/documentation/classes/JCommunityApi.html +1 -1
  10. package/documentation/classes/JConceptApi.html +2 -2
  11. package/documentation/classes/JDiapazoneApi.html +1 -1
  12. package/documentation/classes/JFileApi.html +25 -7
  13. package/documentation/classes/JFilebankApi.html +1 -1
  14. package/documentation/classes/JGroupApi.html +20 -2
  15. package/documentation/classes/JLandApi.html +1 -1
  16. package/documentation/classes/JLicenseApi.html +4 -4
  17. package/documentation/classes/JMessengerApi.html +1 -1
  18. package/documentation/classes/JSearchApi.html +7 -7
  19. package/documentation/classes/JShareApi.html +1 -1
  20. package/documentation/classes/JUserApi.html +4 -4
  21. package/documentation/classes/JWedocApi.html +1 -1
  22. package/documentation/classes/JamespotUserApi.html +1 -1
  23. package/documentation/classes/Network.html +1 -1
  24. package/documentation/classes/WindowBrowser.html +1 -1
  25. package/documentation/enums/StudioApplicationStatus.html +1 -1
  26. package/documentation/index.html +1 -1
  27. package/documentation/interfaces/AccessRightObject.html +1 -0
  28. package/documentation/interfaces/ApiError.html +1 -1
  29. package/documentation/interfaces/ApiWrapper.html +1 -1
  30. package/documentation/interfaces/BaseAutocomplete.html +1 -1
  31. package/documentation/interfaces/BaseMessage.html +1 -1
  32. package/documentation/interfaces/Category.html +1 -1
  33. package/documentation/interfaces/FileBankProps.html +1 -1
  34. package/documentation/interfaces/FolderProps.html +1 -1
  35. package/documentation/interfaces/ListFilterSpec.html +1 -1
  36. package/documentation/interfaces/OF.html +1 -1
  37. package/documentation/interfaces/ObjectListProps.html +1 -1
  38. package/documentation/interfaces/PagingResults.html +1 -1
  39. package/documentation/interfaces/RootFolderProps.html +1 -1
  40. package/documentation/interfaces/SearchCategoryModel.html +1 -1
  41. package/documentation/interfaces/SearchCategoryValue.html +1 -0
  42. package/documentation/interfaces/SearchConfig.html +1 -1
  43. package/documentation/interfaces/SearchFacetModel.html +1 -1
  44. package/documentation/interfaces/SearchFacetValueModel.html +1 -1
  45. package/documentation/interfaces/SearchQuery.html +1 -1
  46. package/documentation/interfaces/SearchQueryFilterModel.html +1 -1
  47. package/documentation/interfaces/SearchQueryOption.html +1 -1
  48. package/documentation/interfaces/SearchQueryResult.html +1 -1
  49. package/documentation/interfaces/SearchQuerySortModel.html +1 -1
  50. package/documentation/interfaces/SearchResultCatProps.html +1 -1
  51. package/documentation/interfaces/SearchResultPropsApp.html +1 -0
  52. package/documentation/interfaces/SearchResultPropsObject.html +1 -0
  53. package/documentation/interfaces/SpotProps.html +1 -1
  54. package/documentation/interfaces/Taxonomy.html +1 -1
  55. package/documentation/interfaces/TaxonomyCreate.html +1 -1
  56. package/documentation/interfaces/WindowInterface.html +1 -1
  57. package/documentation/modules.html +3 -1
  58. package/{jest.fetch.base-config.ts → jest.config.ts} +6 -1
  59. package/jest.config.vm.ts +11 -0
  60. package/lib/jamespot-user-api.js +1 -1
  61. package/lib/jamespot-user-api.js.map +1 -1
  62. package/lib/{jest.mock.config.d.ts → jest.config.d.ts} +4 -1
  63. package/lib/{jest.fetch.base-config.d.ts → jest.config.vm.d.ts} +6 -2
  64. package/lib/src/apis/Licenses/licences.test.d.ts +1 -0
  65. package/lib/src/apis/{licenses.d.ts → Licenses/licenses.d.ts} +2 -2
  66. package/lib/src/apis/Licenses/licenses.mock.d.ts +8 -0
  67. package/lib/src/apis/{application.d.ts → application/application.d.ts} +6 -36
  68. package/lib/src/apis/application/application.test.d.ts +1 -0
  69. package/lib/src/apis/application/index.d.ts +2 -0
  70. package/lib/src/apis/application/listApplicationDefault.mock.d.ts +3 -0
  71. package/lib/src/apis/application/types.d.ts +89 -0
  72. package/lib/src/apis/{article.d.ts → article/article.d.ts} +8 -6
  73. package/lib/src/apis/article/article.mock.d.ts +7 -0
  74. package/lib/src/apis/article/article.test.d.ts +1 -0
  75. package/lib/src/apis/assetReservation.mock.d.ts +3 -0
  76. package/lib/src/apis/assetReservation.test.d.ts +1 -0
  77. package/lib/src/apis/{audience.d.ts → audience/audience.d.ts} +2 -2
  78. package/lib/src/apis/audience/audience.mock.d.ts +2 -0
  79. package/lib/src/apis/audience/audience.test.d.ts +1 -0
  80. package/lib/src/apis/bookmark.d.ts +4 -4
  81. package/lib/src/apis/file.d.ts +59 -4
  82. package/lib/src/apis/group.d.ts +38 -5
  83. package/lib/src/apis/index.d.ts +5 -5
  84. package/lib/src/apis/jamespotUserApi.d.ts +5 -5
  85. package/lib/src/apis/{jland.d.ts → jland/jland.d.ts} +6 -4
  86. package/lib/src/apis/jland/jland.mock.d.ts +5 -0
  87. package/lib/src/apis/jland/jland.test.d.ts +1 -0
  88. package/lib/src/apis/{search.d.ts → search/search.d.ts} +4 -4
  89. package/lib/src/apis/search/search.mock.d.ts +13 -0
  90. package/lib/src/apis/search/search.test.d.ts +1 -0
  91. package/lib/src/apis/user.d.ts +2 -2
  92. package/lib/src/index.d.ts +1 -0
  93. package/lib/src/types/asei.d.ts +3 -3
  94. package/lib/src/types/autocomplete.d.ts +12 -5
  95. package/lib/src/types/bookmark.d.ts +39 -10
  96. package/lib/src/types/file.d.ts +20 -2
  97. package/lib/src/types/group.d.ts +41 -5
  98. package/lib/src/types/index.d.ts +1 -1
  99. package/lib/src/types/model.d.ts +7 -0
  100. package/lib/src/types/realtime.d.ts +25 -0
  101. package/lib/src/types/search.d.ts +43 -16
  102. package/lib/src/types/user.d.ts +6 -15
  103. package/lib/src/types/utils.d.ts +35 -14
  104. package/lib/src/util/Test.d.ts +9 -0
  105. package/lib/src/util/ensure.d.ts +15 -0
  106. package/lib/src/util/network.d.ts +1 -1
  107. package/lib/src/util/network.mock.d.ts +3 -0
  108. package/lib/src/window/index.d.ts +0 -1
  109. package/package.json +3 -5
  110. package/phpunitMock/articleCount-mpArticle.json +1 -0
  111. package/phpunitMock/articleCreate-mpArticle-little.json +18 -0
  112. package/phpunitMock/articleDelete-mpArticle.json +7 -0
  113. package/phpunitMock/articleGet-mpArticle-list.json +39 -0
  114. package/phpunitMock/articleUpdate-mpArticleView.json +39 -0
  115. package/phpunitMock/assetReservationConfiguration-default.json +14 -0
  116. package/phpunitMock/assetReservationConfiguration-updated.json +14 -0
  117. package/phpunitMock/autocompleteAudience-u.json +64 -0
  118. package/phpunitMock/jLandAdminLogs-empty.json +1 -0
  119. package/phpunitMock/jLandAdminLogs-full.json +98 -0
  120. package/phpunitMock/jLandAdminStats-empty.json +1 -0
  121. package/phpunitMock/licenseManagerAssignLicense-default.json +7 -0
  122. package/phpunitMock/licenseManagerAssignLicense-isAssignLicense.json +1 -0
  123. package/phpunitMock/licenseManagerCountLicensesNotAssigned-count.json +15 -0
  124. package/phpunitMock/licenseManagerGetLicensesAssigned-default.json +48 -0
  125. package/phpunitMock/licenseManagerUnassignLicense-default.json +7 -0
  126. package/phpunitMock/licenseManagerUnassignLicense-isUnassign.json +1 -0
  127. package/phpunitMock/objectListJamespotArticleList-mpArticle-little.json +115 -0
  128. package/phpunitMock/searchGetAdminConfig-default.json +22 -0
  129. package/phpunitMock/searchGetConfig-default.json +249 -0
  130. package/phpunitMock/searchGetLastQueries-default.json +7 -0
  131. package/phpunitMock/searchProposition-gro.json +60 -0
  132. package/phpunitMock/searchQuery-admin.json +53 -0
  133. package/phpunitMock/searchSetAdminConfig-test.json +1 -0
  134. package/phpunitMock/studioList-testUserApiList.json +114 -0
  135. package/documentation/classes/WindowMock.html +0 -10
  136. package/documentation/interfaces/CreateGroup.html +0 -1
  137. package/documentation/interfaces/Result.html +0 -1
  138. package/documentation/interfaces/SearchResultProps.html +0 -1
  139. package/jest.fetch.config.ts +0 -7
  140. package/jest.fetch.jenkinsdev.config.ts +0 -7
  141. package/jest.mock.config.ts +0 -8
  142. package/lib/jest.fetch.config.d.ts +0 -12
  143. package/lib/jest.fetch.jenkinsdev.config.d.ts +0 -12
  144. package/lib/src/types/application.d.ts +0 -15
  145. package/lib/src/window/WindowJestFetch.d.ts +0 -6
  146. package/lib/src/window/WindowMock.d.ts +0 -16
@@ -0,0 +1 @@
1
+ { "o": "jLand", "f": "adminLogs", "error": 0, "messages": [], "result": [] }
@@ -0,0 +1,98 @@
1
+ {
2
+ "o": "jLand",
3
+ "f": "adminLogs",
4
+ "error": 0,
5
+ "messages": [],
6
+ "result": [
7
+ {
8
+ "idLog": 155924,
9
+ "slug": "jday-2022.jamespot.pro",
10
+ "dateCreation": "2023-04-13T10:00:12.000Z",
11
+ "map": "170",
12
+ "mail": "cyril.barragan@jamespot.com",
13
+ "action": "access",
14
+ "mode": "controlled"
15
+ },
16
+ {
17
+ "idLog": 71508,
18
+ "slug": "jday-2022.jamespot.pro",
19
+ "dateCreation": "2022-10-13T13:12:30.000Z",
20
+ "map": "jpro/office",
21
+ "mail": "alain.garnier@jamespot.com",
22
+ "action": "access",
23
+ "mode": "controlled"
24
+ },
25
+ {
26
+ "idLog": 44612,
27
+ "slug": "jday-2022.jamespot.pro",
28
+ "dateCreation": "2022-08-23T15:57:10.000Z",
29
+ "map": "jpro/office",
30
+ "mail": "romaric.pighetti@jamespot.com",
31
+ "action": "access",
32
+ "mode": "controlled"
33
+ },
34
+ {
35
+ "idLog": 44611,
36
+ "slug": "jday-2022.jamespot.pro",
37
+ "dateCreation": "2022-08-23T15:56:31.000Z",
38
+ "map": "jpro/office",
39
+ "mail": "romaric.pighetti@jamespot.com",
40
+ "action": "access",
41
+ "mode": "controlled"
42
+ },
43
+ {
44
+ "idLog": 44610,
45
+ "slug": "jday-2022.jamespot.pro",
46
+ "dateCreation": "2022-08-23T15:56:30.000Z",
47
+ "map": "jpro/office",
48
+ "mail": "romaric.pighetti@jamespot.com",
49
+ "action": "access",
50
+ "mode": "controlled"
51
+ },
52
+ {
53
+ "idLog": 44609,
54
+ "slug": "jday-2022.jamespot.pro",
55
+ "dateCreation": "2022-08-23T15:56:29.000Z",
56
+ "map": "jpro/office",
57
+ "mail": "romaric.pighetti@jamespot.com",
58
+ "action": "access",
59
+ "mode": "controlled"
60
+ },
61
+ {
62
+ "idLog": 44608,
63
+ "slug": "jday-2022.jamespot.pro",
64
+ "dateCreation": "2022-08-23T15:56:26.000Z",
65
+ "map": "jpro/office",
66
+ "mail": "romaric.pighetti@jamespot.com",
67
+ "action": "access",
68
+ "mode": "controlled"
69
+ },
70
+ {
71
+ "idLog": 36888,
72
+ "slug": "jday-2022.jamespot.pro",
73
+ "dateCreation": "2022-08-01T12:44:01.000Z",
74
+ "map": "jpro/office",
75
+ "mail": "romaric.pighetti@jamespot.com",
76
+ "action": "access",
77
+ "mode": "controlled"
78
+ },
79
+ {
80
+ "idLog": 36887,
81
+ "slug": "jday-2022.jamespot.pro",
82
+ "dateCreation": "2022-08-01T12:44:01.000Z",
83
+ "map": "jpro/office",
84
+ "mail": "romaric.pighetti@jamespot.com",
85
+ "action": "access",
86
+ "mode": "controlled"
87
+ },
88
+ {
89
+ "idLog": 36886,
90
+ "slug": "jday-2022.jamespot.pro",
91
+ "dateCreation": "2022-08-01T12:43:59.000Z",
92
+ "map": "jpro/office",
93
+ "mail": "romaric.pighetti@jamespot.com",
94
+ "action": "access",
95
+ "mode": "controlled"
96
+ }
97
+ ]
98
+ }
@@ -0,0 +1 @@
1
+ { "o": "jLand", "f": "adminStats", "error": 0, "messages": [], "result": [] }
@@ -0,0 +1,7 @@
1
+ {
2
+ "o": "licenseManager",
3
+ "f": "assignLicense",
4
+ "error": 0,
5
+ "messages": [],
6
+ "result": false
7
+ }
@@ -0,0 +1 @@
1
+ { "o": "licenseManager", "f": "assignLicense", "error": 0, "messages": [], "result": true }
@@ -0,0 +1,15 @@
1
+ {
2
+ "o": "licenseManager",
3
+ "f": "countLicensesNotAssigned",
4
+ "error": 0,
5
+ "messages": [],
6
+ "result": {
7
+ "JLO1": 0,
8
+ "JLO2": 0,
9
+ "JLO3": 0,
10
+ "JLO5": 0,
11
+ "JLMO2": 0,
12
+ "JLV3": 1,
13
+ "JLC3": 0
14
+ }
15
+ }
@@ -0,0 +1,48 @@
1
+ {
2
+ "o": "licenseManager",
3
+ "f": "getLicensesAssigned",
4
+ "error": 0,
5
+ "messages": [],
6
+ "result": [
7
+ {
8
+ "id": 4,
9
+ "kind": "capacity-JLO1",
10
+ "dateCreation": "2023-04-13 16:02:53",
11
+ "idFeature": 7,
12
+ "uri": "jlandmap/16",
13
+ "contentId": 16,
14
+ "contentType": "jlandmap",
15
+ "status": 0
16
+ },
17
+ {
18
+ "id": 6,
19
+ "kind": "capacity-JLO3",
20
+ "dateCreation": "2023-04-13 16:02:54",
21
+ "idFeature": 9,
22
+ "uri": "jlandmap/18",
23
+ "contentId": 18,
24
+ "contentType": "jlandmap",
25
+ "status": 0
26
+ },
27
+ {
28
+ "id": 7,
29
+ "kind": "capacity-JLO5",
30
+ "dateCreation": "2023-04-13 16:02:54",
31
+ "idFeature": 10,
32
+ "uri": "jlandmap/19",
33
+ "contentId": 19,
34
+ "contentType": "jlandmap",
35
+ "status": 0
36
+ },
37
+ {
38
+ "id": 8,
39
+ "kind": "capacity-JLO5",
40
+ "dateCreation": "2023-04-13 16:02:54",
41
+ "idFeature": 10,
42
+ "uri": "jlandmap/20",
43
+ "contentId": 20,
44
+ "contentType": "jlandmap",
45
+ "status": 0
46
+ }
47
+ ]
48
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "o": "licenseManager",
3
+ "f": "unassignLicense",
4
+ "error": 0,
5
+ "messages": [],
6
+ "result": false
7
+ }
@@ -0,0 +1 @@
1
+ { "o": "licenseManager", "f": "unassignLicense", "error": 0, "messages": [], "result": true }
@@ -0,0 +1,115 @@
1
+ {
2
+ "o": "objectList",
3
+ "f": "jamespotArticleList",
4
+ "error": 0,
5
+ "messages": [],
6
+ "result": {
7
+ "limit": 50,
8
+ "page": 1,
9
+ "cnt": 10,
10
+ "data": [
11
+ {
12
+ "id": 36,
13
+ "mainType": "article",
14
+ "type": "OAuth2Application",
15
+ "uri": "OAuth2Application/36",
16
+ "title": "Jamespot OAuth App",
17
+ "_url": "/article/36",
18
+ "dateCreation": "2023-04-11 18:22:21",
19
+ "dateModified": "2023-04-11 18:05:15"
20
+ },
21
+ {
22
+ "id": 23,
23
+ "mainType": "article",
24
+ "type": "mpArticle",
25
+ "uri": "mpArticle/23",
26
+ "title": "Article for testObjectListArticleAudienceList",
27
+ "_url": "/article/23",
28
+ "dateCreation": "2023-04-11 17:58:40",
29
+ "dateModified": "2023-04-11 17:58:40"
30
+ },
31
+ {
32
+ "id": 20,
33
+ "mainType": "article",
34
+ "type": "mpArticle",
35
+ "uri": "mpArticle/20",
36
+ "title": "New Title for testArticleUpdate",
37
+ "_url": "/article/20",
38
+ "dateCreation": "2023-04-11 17:58:39",
39
+ "dateModified": "2023-04-11 17:58:39"
40
+ },
41
+ {
42
+ "id": 18,
43
+ "mainType": "article",
44
+ "type": "mpArticle",
45
+ "uri": "mpArticle/18",
46
+ "title": "title article link",
47
+ "_url": "/article/18",
48
+ "dateCreation": "2023-04-11 17:58:38",
49
+ "dateModified": "2023-04-11 17:58:38"
50
+ },
51
+ {
52
+ "id": 19,
53
+ "mainType": "article",
54
+ "type": "mpArticle",
55
+ "uri": "mpArticle/19",
56
+ "title": "title article link",
57
+ "_url": "/article/19",
58
+ "dateCreation": "2023-04-11 17:58:38",
59
+ "dateModified": "2023-04-11 17:58:38"
60
+ },
61
+ {
62
+ "id": 16,
63
+ "mainType": "article",
64
+ "type": "mpArticle",
65
+ "uri": "mpArticle/16",
66
+ "title": "Article for testArticleGetComments",
67
+ "_url": "/article/16",
68
+ "dateCreation": "2023-04-11 17:58:37",
69
+ "dateModified": "2023-04-11 17:58:37"
70
+ },
71
+ {
72
+ "id": 17,
73
+ "mainType": "article",
74
+ "type": "mpArticle",
75
+ "uri": "mpArticle/17",
76
+ "title": "Article for testArticleUpdateComment",
77
+ "_url": "/article/17",
78
+ "dateCreation": "2023-04-11 17:58:37",
79
+ "dateModified": "2023-04-11 17:58:37"
80
+ },
81
+ {
82
+ "id": 15,
83
+ "mainType": "article",
84
+ "type": "mpArticle",
85
+ "uri": "mpArticle/15",
86
+ "title": "Article for testArticleAddComment",
87
+ "_url": "/article/15",
88
+ "dateCreation": "2023-04-11 17:58:36",
89
+ "dateModified": "2023-04-11 17:58:36"
90
+ },
91
+ {
92
+ "id": 14,
93
+ "mainType": "article",
94
+ "type": "mpArticle",
95
+ "uri": "mpArticle/14",
96
+ "title": "title for testArticleGetPublic",
97
+ "_url": "/article/14",
98
+ "dateCreation": "2023-04-11 17:58:35",
99
+ "dateModified": "2023-04-11 17:58:35"
100
+ },
101
+ {
102
+ "id": 2,
103
+ "mainType": "article",
104
+ "type": "mpArticle",
105
+ "uri": "mpArticle/2",
106
+ "title": "Article groupe public",
107
+ "_url": "/article/2",
108
+ "dateCreation": "2019-07-19 09:36:25",
109
+ "dateModified": "2019-07-19 09:36:25"
110
+ }
111
+ ],
112
+ "facets": [],
113
+ "idQuery": 1681286231
114
+ }
115
+ }
@@ -0,0 +1,22 @@
1
+ {
2
+ "o": "search",
3
+ "f": "getAdminConfig",
4
+ "error": 0,
5
+ "messages": [],
6
+ "result": {
7
+ "home": { "facets": [{ "field": "__sec__" }, { "field": "idUser" }, { "field": "dateCreation" }] },
8
+ "categories": [
9
+ { "id": "user", "mainType": "user", "active": true, "facets": ["dateCreation"] },
10
+ { "id": "spot", "mainType": "spot", "active": true, "facets": ["type", "dateCreation"] },
11
+ {
12
+ "id": "article",
13
+ "mainType": "article",
14
+ "active": true,
15
+ "facets": ["__sec__", "idUser", "type", "tags", "dateCreation"]
16
+ },
17
+ { "id": "comment", "mainType": "comment", "active": true, "facets": [] },
18
+ { "id": "fileArticle", "mainType": "fileArticle", "active": true, "facets": [] },
19
+ { "id": "fileComment", "mainType": "fileComment", "active": true, "facets": [] }
20
+ ]
21
+ }
22
+ }
@@ -0,0 +1,249 @@
1
+ {
2
+ "o": "search",
3
+ "f": "getConfig",
4
+ "error": 0,
5
+ "messages": [],
6
+ "result": {
7
+ "home": {
8
+ "mode": "result",
9
+ "facets": [
10
+ { "field": "__sec__", "title": "Audience", "facetType": "facet", "facetOptions": {} },
11
+ { "field": "idUser", "title": "Auteur", "facetType": "facet", "facetOptions": {} },
12
+ {
13
+ "field": "dateCreation",
14
+ "title": "Date",
15
+ "facetType": "facetQuery",
16
+ "facetOptions": {
17
+ "[NOW-1DAY TO *]": { "ressource": "SEARCH_Facet_Day", "value": "[NOW-1DAY TO *]" },
18
+ "[NOW/DAY-7DAY TO NOW]": { "ressource": "SEARCH_Facet_Week", "value": "[NOW/DAY-7DAY TO NOW]" },
19
+ "[NOW/DAY-1MONTH TO NOW]": {
20
+ "ressource": "SEARCH_Facet_Month",
21
+ "value": "[NOW/DAY-1MONTH TO NOW]"
22
+ },
23
+ "[NOW/DAY-1YEAR TO NOW]": {
24
+ "ressource": "SEARCH_Facet_Year",
25
+ "value": "[NOW/DAY-1YEAR TO NOW]"
26
+ },
27
+ "[* TO NOW/DAY-1YEAR]": {
28
+ "ressource": "SEARCH_Facet_More_Year",
29
+ "value": "[* TO NOW/DAY-1YEAR]"
30
+ }
31
+ }
32
+ }
33
+ ]
34
+ },
35
+ "categories": [
36
+ {
37
+ "id": "user",
38
+ "facets": [
39
+ {
40
+ "field": "dateCreation",
41
+ "title": "Date",
42
+ "facetType": "facetQuery",
43
+ "facetOptions": {
44
+ "[NOW-1DAY TO *]": { "ressource": "SEARCH_Facet_Day", "value": "[NOW-1DAY TO *]" },
45
+ "[NOW/DAY-7DAY TO NOW]": {
46
+ "ressource": "SEARCH_Facet_Week",
47
+ "value": "[NOW/DAY-7DAY TO NOW]"
48
+ },
49
+ "[NOW/DAY-1MONTH TO NOW]": {
50
+ "ressource": "SEARCH_Facet_Month",
51
+ "value": "[NOW/DAY-1MONTH TO NOW]"
52
+ },
53
+ "[NOW/DAY-1YEAR TO NOW]": {
54
+ "ressource": "SEARCH_Facet_Year",
55
+ "value": "[NOW/DAY-1YEAR TO NOW]"
56
+ },
57
+ "[* TO NOW/DAY-1YEAR]": {
58
+ "ressource": "SEARCH_Facet_More_Year",
59
+ "value": "[* TO NOW/DAY-1YEAR]"
60
+ }
61
+ }
62
+ }
63
+ ],
64
+ "mainType": "user",
65
+ "title": "Utilisateur",
66
+ "typesExcluded": []
67
+ },
68
+ {
69
+ "id": "spot",
70
+ "facets": [
71
+ { "field": "type", "title": "Type", "facetType": "facet", "facetOptions": { "limit": 28 } },
72
+ {
73
+ "field": "dateCreation",
74
+ "title": "Date",
75
+ "facetType": "facetQuery",
76
+ "facetOptions": {
77
+ "[NOW-1DAY TO *]": { "ressource": "SEARCH_Facet_Day", "value": "[NOW-1DAY TO *]" },
78
+ "[NOW/DAY-7DAY TO NOW]": {
79
+ "ressource": "SEARCH_Facet_Week",
80
+ "value": "[NOW/DAY-7DAY TO NOW]"
81
+ },
82
+ "[NOW/DAY-1MONTH TO NOW]": {
83
+ "ressource": "SEARCH_Facet_Month",
84
+ "value": "[NOW/DAY-1MONTH TO NOW]"
85
+ },
86
+ "[NOW/DAY-1YEAR TO NOW]": {
87
+ "ressource": "SEARCH_Facet_Year",
88
+ "value": "[NOW/DAY-1YEAR TO NOW]"
89
+ },
90
+ "[* TO NOW/DAY-1YEAR]": {
91
+ "ressource": "SEARCH_Facet_More_Year",
92
+ "value": "[* TO NOW/DAY-1YEAR]"
93
+ }
94
+ }
95
+ }
96
+ ],
97
+ "mainType": "spot",
98
+ "title": "Groupe",
99
+ "typesExcluded": []
100
+ },
101
+ {
102
+ "id": "article",
103
+ "facets": [
104
+ { "field": "__sec__", "title": "Audience", "facetType": "facet", "facetOptions": {} },
105
+ { "field": "idUser", "title": "Auteur", "facetType": "facet", "facetOptions": {} },
106
+ { "field": "type", "title": "Type", "facetType": "facet", "facetOptions": { "limit": 28 } },
107
+ { "field": "tags", "title": "Mots-cl\u00e9s", "facetType": "facet", "facetOptions": {} },
108
+ {
109
+ "field": "dateCreation",
110
+ "title": "Date",
111
+ "facetType": "facetQuery",
112
+ "facetOptions": {
113
+ "[NOW-1DAY TO *]": { "ressource": "SEARCH_Facet_Day", "value": "[NOW-1DAY TO *]" },
114
+ "[NOW/DAY-7DAY TO NOW]": {
115
+ "ressource": "SEARCH_Facet_Week",
116
+ "value": "[NOW/DAY-7DAY TO NOW]"
117
+ },
118
+ "[NOW/DAY-1MONTH TO NOW]": {
119
+ "ressource": "SEARCH_Facet_Month",
120
+ "value": "[NOW/DAY-1MONTH TO NOW]"
121
+ },
122
+ "[NOW/DAY-1YEAR TO NOW]": {
123
+ "ressource": "SEARCH_Facet_Year",
124
+ "value": "[NOW/DAY-1YEAR TO NOW]"
125
+ },
126
+ "[* TO NOW/DAY-1YEAR]": {
127
+ "ressource": "SEARCH_Facet_More_Year",
128
+ "value": "[* TO NOW/DAY-1YEAR]"
129
+ }
130
+ }
131
+ }
132
+ ],
133
+ "mainType": "article",
134
+ "title": "Contenu",
135
+ "typesExcluded": []
136
+ },
137
+ {
138
+ "id": "comment",
139
+ "facets": [
140
+ { "field": "__sec__", "title": "Audience", "facetType": "facet", "facetOptions": {} },
141
+ { "field": "idUser", "title": "Auteur", "facetType": "facet", "facetOptions": {} },
142
+ {
143
+ "field": "dateCreation",
144
+ "title": "Date",
145
+ "facetType": "facetQuery",
146
+ "facetOptions": {
147
+ "[NOW-1DAY TO *]": { "ressource": "SEARCH_Facet_Day", "value": "[NOW-1DAY TO *]" },
148
+ "[NOW/DAY-7DAY TO NOW]": {
149
+ "ressource": "SEARCH_Facet_Week",
150
+ "value": "[NOW/DAY-7DAY TO NOW]"
151
+ },
152
+ "[NOW/DAY-1MONTH TO NOW]": {
153
+ "ressource": "SEARCH_Facet_Month",
154
+ "value": "[NOW/DAY-1MONTH TO NOW]"
155
+ },
156
+ "[NOW/DAY-1YEAR TO NOW]": {
157
+ "ressource": "SEARCH_Facet_Year",
158
+ "value": "[NOW/DAY-1YEAR TO NOW]"
159
+ },
160
+ "[* TO NOW/DAY-1YEAR]": {
161
+ "ressource": "SEARCH_Facet_More_Year",
162
+ "value": "[* TO NOW/DAY-1YEAR]"
163
+ }
164
+ }
165
+ }
166
+ ],
167
+ "mainType": "comment",
168
+ "title": "Commentaire",
169
+ "typesExcluded": []
170
+ },
171
+ {
172
+ "id": "fileArticle",
173
+ "facets": [
174
+ { "field": "__sec__", "title": "Audience", "facetType": "facet", "facetOptions": {} },
175
+ { "field": "idUser", "title": "Auteur", "facetType": "facet", "facetOptions": {} },
176
+ {
177
+ "field": "dateCreation",
178
+ "title": "Date",
179
+ "facetType": "facetQuery",
180
+ "facetOptions": {
181
+ "[NOW-1DAY TO *]": { "ressource": "SEARCH_Facet_Day", "value": "[NOW-1DAY TO *]" },
182
+ "[NOW/DAY-7DAY TO NOW]": {
183
+ "ressource": "SEARCH_Facet_Week",
184
+ "value": "[NOW/DAY-7DAY TO NOW]"
185
+ },
186
+ "[NOW/DAY-1MONTH TO NOW]": {
187
+ "ressource": "SEARCH_Facet_Month",
188
+ "value": "[NOW/DAY-1MONTH TO NOW]"
189
+ },
190
+ "[NOW/DAY-1YEAR TO NOW]": {
191
+ "ressource": "SEARCH_Facet_Year",
192
+ "value": "[NOW/DAY-1YEAR TO NOW]"
193
+ },
194
+ "[* TO NOW/DAY-1YEAR]": {
195
+ "ressource": "SEARCH_Facet_More_Year",
196
+ "value": "[* TO NOW/DAY-1YEAR]"
197
+ }
198
+ }
199
+ }
200
+ ],
201
+ "mainType": "fileArticle",
202
+ "title": "Fichier de contenu",
203
+ "typesExcluded": []
204
+ },
205
+ {
206
+ "id": "fileComment",
207
+ "facets": [
208
+ { "field": "__sec__", "title": "Audience", "facetType": "facet", "facetOptions": {} },
209
+ { "field": "idUser", "title": "Auteur", "facetType": "facet", "facetOptions": {} },
210
+ {
211
+ "field": "dateCreation",
212
+ "title": "Date",
213
+ "facetType": "facetQuery",
214
+ "facetOptions": {
215
+ "[NOW-1DAY TO *]": { "ressource": "SEARCH_Facet_Day", "value": "[NOW-1DAY TO *]" },
216
+ "[NOW/DAY-7DAY TO NOW]": {
217
+ "ressource": "SEARCH_Facet_Week",
218
+ "value": "[NOW/DAY-7DAY TO NOW]"
219
+ },
220
+ "[NOW/DAY-1MONTH TO NOW]": {
221
+ "ressource": "SEARCH_Facet_Month",
222
+ "value": "[NOW/DAY-1MONTH TO NOW]"
223
+ },
224
+ "[NOW/DAY-1YEAR TO NOW]": {
225
+ "ressource": "SEARCH_Facet_Year",
226
+ "value": "[NOW/DAY-1YEAR TO NOW]"
227
+ },
228
+ "[* TO NOW/DAY-1YEAR]": {
229
+ "ressource": "SEARCH_Facet_More_Year",
230
+ "value": "[* TO NOW/DAY-1YEAR]"
231
+ }
232
+ }
233
+ }
234
+ ],
235
+ "mainType": "fileComment",
236
+ "title": "Fichier de commentaire",
237
+ "typesExcluded": []
238
+ }
239
+ ],
240
+ "viewcard": {
241
+ "user": [
242
+ { "name": "firstname", "title": "Pr\u00e9nom" },
243
+ { "name": "lastname", "title": "Nom" },
244
+ { "name": "company", "title": "Soci\u00e9t\u00e9" },
245
+ { "name": "mail", "title": "Mail" }
246
+ ]
247
+ }
248
+ }
249
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "o": "search",
3
+ "f": "getLastQueries",
4
+ "error": 0,
5
+ "messages": [],
6
+ "result": [{ "keywords": "fraise" }, { "keywords": "vanille" }, { "keywords": "chocolat" }, { "keywords": "admin" }]
7
+ }
@@ -0,0 +1,60 @@
1
+ {
2
+ "o": "search",
3
+ "f": "proposition",
4
+ "error": 0,
5
+ "messages": [],
6
+ "result": [
7
+ {
8
+ "id": "apps",
9
+ "title": "Applications",
10
+ "showAll": false,
11
+ "results": [
12
+ {
13
+ "name": "group",
14
+ "title": "Groupes",
15
+ "icon": "/img/vespasien/apps/group.png",
16
+ "_url": "/ng/app/group/directory"
17
+ }
18
+ ]
19
+ },
20
+ {
21
+ "id": "spot",
22
+ "title": "Groupe",
23
+ "showAll": true,
24
+ "results": [
25
+ {
26
+ "id": 1,
27
+ "type": "spot",
28
+ "uri": "spot/1",
29
+ "mainType": "spot",
30
+ "_cssColor": "#e34d55",
31
+ "_cssClass": "group",
32
+ "title": "Groupe public",
33
+ "_url": "/group/1",
34
+ "_values": {
35
+ "privacy": 1,
36
+ "category": "1",
37
+ "dateCreation": "2019-07-18 18:36:24",
38
+ "dateModified": "2019-07-18 18:36:24"
39
+ }
40
+ },
41
+ {
42
+ "id": 3,
43
+ "type": "spot",
44
+ "uri": "spot/3",
45
+ "mainType": "spot",
46
+ "_cssColor": "#e34d55",
47
+ "_cssClass": "group",
48
+ "title": "Groupe mod\u00e9r\u00e9",
49
+ "_url": "/group/3",
50
+ "_values": {
51
+ "privacy": 2,
52
+ "category": "1",
53
+ "dateCreation": "2019-07-19 09:35:53",
54
+ "dateModified": "2019-07-19 09:35:53"
55
+ }
56
+ }
57
+ ]
58
+ }
59
+ ]
60
+ }