jamespot-user-api 1.0.104 → 1.0.106
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.
- package/documentation/assets/search.js +1 -1
- package/documentation/classes/AdminLicenseApi.html +12 -12
- package/documentation/classes/AdminStoreApi.html +1 -1
- package/documentation/classes/AdminUtilsApi.html +2 -2
- package/documentation/classes/JApplicationApi.html +9 -9
- package/documentation/classes/JArticleApi.html +1 -1
- package/documentation/classes/JAssetReservation.html +1 -1
- package/documentation/classes/JAudienceApi.html +2 -2
- package/documentation/classes/JBaseApi.html +1 -1
- package/documentation/classes/JBookmarkApi.html +1 -1
- package/documentation/classes/JCommunityApi.html +1 -1
- package/documentation/classes/JDiapazoneApi.html +1 -1
- package/documentation/classes/JFileApi.html +6 -6
- package/documentation/classes/JFilebankApi.html +1 -1
- package/documentation/classes/JGroupApi.html +8 -8
- package/documentation/classes/JLandApi.html +1 -1
- package/documentation/classes/JMessengerApi.html +1 -1
- package/documentation/classes/JSearchApi.html +7 -7
- package/documentation/classes/JShareApi.html +1 -1
- package/documentation/classes/JTaxonomyApi.html +3 -3
- package/documentation/classes/JUserApi.html +4 -4
- package/documentation/classes/JWedocApi.html +1 -1
- package/documentation/classes/JamespotUserApi.html +1 -1
- package/documentation/classes/Network.html +1 -1
- package/documentation/classes/WindowBrowser.html +1 -1
- package/documentation/enums/StudioApplicationStatus.html +1 -1
- package/documentation/index.html +1 -1
- package/documentation/interfaces/AccessRightObject.html +1 -1
- package/documentation/interfaces/AdminLicenseUser.html +1 -1
- package/documentation/interfaces/ApiDefaultWrapper.html +1 -1
- package/documentation/interfaces/ApiWrapper.html +1 -1
- package/documentation/interfaces/BaseAutocomplete.html +1 -1
- package/documentation/interfaces/BaseMessage.html +1 -1
- package/documentation/interfaces/Category.html +1 -1
- package/documentation/interfaces/FileBankProps.html +1 -1
- package/documentation/interfaces/FolderProps.html +1 -1
- package/documentation/interfaces/ListFilterSpec.html +1 -1
- package/documentation/interfaces/OF.html +1 -1
- package/documentation/interfaces/ObjectListProps.html +1 -1
- package/documentation/interfaces/PagingResults.html +1 -1
- package/documentation/interfaces/RootFolderProps.html +1 -1
- package/documentation/interfaces/SearchCategoryModel.html +1 -1
- package/documentation/interfaces/SearchCategoryValue.html +1 -1
- package/documentation/interfaces/SearchConfig.html +1 -1
- package/documentation/interfaces/SearchFacetModel.html +1 -1
- package/documentation/interfaces/SearchFacetValueModel.html +1 -1
- package/documentation/interfaces/SearchQuery.html +1 -1
- package/documentation/interfaces/SearchQueryFilterModel.html +1 -1
- package/documentation/interfaces/SearchQueryOption.html +1 -1
- package/documentation/interfaces/SearchQueryResult.html +1 -1
- package/documentation/interfaces/SearchQuerySortModel.html +1 -1
- package/documentation/interfaces/SearchResultCatProps.html +1 -1
- package/documentation/interfaces/SearchResultPropsApp.html +1 -1
- package/documentation/interfaces/SearchResultPropsObject.html +1 -1
- package/documentation/interfaces/SpotProps.html +1 -1
- package/documentation/interfaces/Taxonomy.html +1 -1
- package/documentation/interfaces/TaxonomyCreate.html +1 -1
- package/documentation/interfaces/WindowInterface.html +1 -1
- package/documentation/modules.html +6 -6
- package/lib/jamespot-user-api.js +1 -1
- package/lib/jamespot-user-api.js.map +1 -1
- package/lib/src/apis/base.d.ts +3 -1
- package/lib/src/apis/{bookmark.d.ts → bookmark/bookmark.d.ts} +7 -7
- package/lib/src/apis/bookmark/bookmark.mock.d.ts +8 -0
- package/lib/src/apis/bookmark/bookmark.test.d.ts +1 -0
- package/lib/src/apis/drive/drive.d.ts +20 -0
- package/lib/src/apis/drive/drive.mock.d.ts +4 -0
- package/lib/src/apis/index.d.ts +4 -3
- package/lib/src/apis/jamespotUserApi.d.ts +5 -3
- package/lib/src/apis/share/share.d.ts +14 -0
- package/lib/src/apis/share/share.mock.d.ts +7 -0
- package/lib/src/apis/share/share.test.d.ts +1 -0
- package/lib/src/apis/wedoc/wedoc.d.ts +17 -0
- package/lib/src/apis/wedoc/wedoc.mock.d.ts +14 -0
- package/lib/src/apis/wedoc/wedoc.test.d.ts +1 -0
- package/lib/src/types/bookmark.d.ts +2 -1
- package/lib/src/types/drive.d.ts +27 -0
- package/lib/src/types/index.d.ts +1 -0
- package/lib/src/types/share.d.ts +7 -17
- package/lib/src/types/user.d.ts +1 -0
- package/lib/src/types/utils.d.ts +1 -9
- package/lib/src/types/wedoc.d.ts +6 -21
- package/lib/src/util/Test.d.ts +11 -5
- package/lib/src/util/ensure.d.ts +3 -0
- package/lib/src/util/network.d.ts +14 -5
- package/lib/src/util/network.mock.d.ts +2 -1
- package/lib/src/util/network.test.d.ts +1 -0
- package/lib/src/window/Window.d.ts +5 -4
- package/lib/src/window/WindowBrowser.d.ts +2 -2
- package/lib/src/window/WindowBrowser.test.d.ts +1 -0
- package/package.json +1 -1
- package/phpunitMock/articleCount-mpArticle.json +1 -1
- package/phpunitMock/articleCreate-mpArticle-little.json +9 -6
- package/phpunitMock/articleGet-mpArticle-list.json +4 -4
- package/phpunitMock/articleUpdate-mpArticleView.json +7 -7
- package/phpunitMock/autocompleteAudience-u.json +42 -0
- package/phpunitMock/autocompleteTaxonomy-default.json +2 -2
- package/phpunitMock/bookmarksAdd-url.json +35 -0
- package/phpunitMock/bookmarksDelete-spot1Article.json +7 -0
- package/phpunitMock/bookmarksMove-spot1Article.json +7 -0
- package/phpunitMock/bookmarksRename-spot1Article.json +7 -0
- package/phpunitMock/customActionAdd-bookmarkSpot1Article.json +45 -0
- package/phpunitMock/licenseManagerAssignLicense-default.json +1 -7
- package/phpunitMock/licenseManagerCountLicensesNotAssigned-count.json +7 -15
- package/phpunitMock/licenseManagerGetLicensesAssigned-default.json +48 -48
- package/phpunitMock/licenseManagerUnassignLicense-default.json +1 -7
- package/phpunitMock/objectList-bookmarksList.json +92 -0
- package/phpunitMock/objectListJamespotArticleList-mpArticle-little.json +1 -109
- package/phpunitMock/objectListJamespotUserMap-default.json +1 -11
- package/phpunitMock/objectListMediaLibraryGetUnclassifiedFiles-default.json +7 -13
- package/phpunitMock/objectListTaxonomyConcept-default.json +16 -16
- package/phpunitMock/objectListTaxonomyHierarchyConcept-default.json +2 -2
- package/phpunitMock/onlyOfficeAskObjectAccess-ask-read.json +1 -0
- package/phpunitMock/onlyOfficeCreateFile-create-file.json +19 -0
- package/phpunitMock/onlyOfficeDeleteFile-delete-file.json +1 -0
- package/phpunitMock/onlyOfficeDuplicateFile-duplicate-file.json +19 -0
- package/phpunitMock/onlyOfficeGetFile-get-file.json +50 -0
- package/phpunitMock/onlyOfficeGetFiles-get-files.json +58 -0
- package/phpunitMock/onlyOfficeGetObject-default.json +26 -0
- package/phpunitMock/onlyOfficeGetObjectAccess-default.json +34 -0
- package/phpunitMock/onlyOfficeGetObjectAccessRequest-all-request.json +19 -0
- package/phpunitMock/onlyOfficeGetTemplates-get-templates.json +29 -0
- package/phpunitMock/onlyOfficeSetObjectAccess-default.json +1 -0
- package/phpunitMock/onlyOfficeSetObjectAccessRequest-accept.json +1 -0
- package/phpunitMock/onlyOfficeUpdateFile-update-file.json +1 -0
- package/phpunitMock/searchGetConfig-default.json +4 -3
- package/phpunitMock/searchProposition-gro.json +34 -0
- package/phpunitMock/searchQuery-admin.json +4 -3
- package/phpunitMock/supportConfiguration-configuration.json +51 -0
- package/phpunitMock/taxonomyCreate-default.json +6 -6
- package/phpunitMock/taxonomyList-default.json +95 -17
- package/phpunitMock/userDirectoryConfiguration-default.json +3 -1
- package/phpunitMock/userGet-rawView.json +5 -3
- package/documentation/interfaces/ApiError.html +0 -1
- package/lib/src/apis/share.d.ts +0 -17
- package/lib/src/apis/wedoc.d.ts +0 -26
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
{
|
|
2
|
+
"o": "onlyOffice",
|
|
3
|
+
"f": "getFiles",
|
|
4
|
+
"error": 0,
|
|
5
|
+
"messages": [],
|
|
6
|
+
"result": {
|
|
7
|
+
"data": [
|
|
8
|
+
{
|
|
9
|
+
"id": 56,
|
|
10
|
+
"title": "xlsx_document.xlsx",
|
|
11
|
+
"mimetype": "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
|
|
12
|
+
"type": "fileArticle",
|
|
13
|
+
"mainType": "fileArticle",
|
|
14
|
+
"uri": "fileArticle/56",
|
|
15
|
+
"dateModified": "2023-04-14 14:39:17",
|
|
16
|
+
"dateCreation": "2023-04-14 14:39:17",
|
|
17
|
+
"_extend": {
|
|
18
|
+
"generalAccessRule": "link",
|
|
19
|
+
"dateModified": "2023-04-14 14:39:17",
|
|
20
|
+
"dateCreation": "2023-04-14 14:39:17",
|
|
21
|
+
"fileInfo": {
|
|
22
|
+
"color": "#218273",
|
|
23
|
+
"description": "Tableur",
|
|
24
|
+
"extension": "xlsx",
|
|
25
|
+
"icon": "icon-file-excel-o",
|
|
26
|
+
"label": "Tableur"
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
"_user": {
|
|
30
|
+
"id": 4,
|
|
31
|
+
"mainType": "user",
|
|
32
|
+
"type": "user",
|
|
33
|
+
"uri": "user/4",
|
|
34
|
+
"title": "Admin1",
|
|
35
|
+
"_url": "/user/4",
|
|
36
|
+
"dateCreation": "2019-07-09 15:48:26",
|
|
37
|
+
"dateModified": "2023-04-14 14:29:47",
|
|
38
|
+
"level": 9
|
|
39
|
+
},
|
|
40
|
+
"_right": {
|
|
41
|
+
"create": true,
|
|
42
|
+
"read": true,
|
|
43
|
+
"publish": false,
|
|
44
|
+
"administrate": true,
|
|
45
|
+
"update": true,
|
|
46
|
+
"delete": true,
|
|
47
|
+
"comment": true,
|
|
48
|
+
"member": true
|
|
49
|
+
},
|
|
50
|
+
"_audience": []
|
|
51
|
+
}
|
|
52
|
+
],
|
|
53
|
+
"limit": 100,
|
|
54
|
+
"page": 1,
|
|
55
|
+
"facets": [],
|
|
56
|
+
"cnt": 1
|
|
57
|
+
}
|
|
58
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
{
|
|
2
|
+
"o": "onlyOffice",
|
|
3
|
+
"f": "getObject",
|
|
4
|
+
"error": 0,
|
|
5
|
+
"messages": [],
|
|
6
|
+
"result": {
|
|
7
|
+
"id": 101,
|
|
8
|
+
"type": "fileArticle",
|
|
9
|
+
"title": "ASK.xlsx",
|
|
10
|
+
"idUser": 4,
|
|
11
|
+
"uri": "fileArticle/101",
|
|
12
|
+
"generalAccessRule": "link",
|
|
13
|
+
"generalAccessHash": null,
|
|
14
|
+
"_right": {
|
|
15
|
+
"create": true,
|
|
16
|
+
"read": true,
|
|
17
|
+
"publish": false,
|
|
18
|
+
"administrate": true,
|
|
19
|
+
"update": true,
|
|
20
|
+
"delete": true,
|
|
21
|
+
"comment": true,
|
|
22
|
+
"member": true
|
|
23
|
+
},
|
|
24
|
+
"_audience": []
|
|
25
|
+
}
|
|
26
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
{
|
|
2
|
+
"o": "onlyOffice",
|
|
3
|
+
"f": "getObjectAccess",
|
|
4
|
+
"error": 0,
|
|
5
|
+
"messages": [],
|
|
6
|
+
"result": {
|
|
7
|
+
"audience": [
|
|
8
|
+
{
|
|
9
|
+
"id": 6,
|
|
10
|
+
"mainType": "user",
|
|
11
|
+
"type": "user",
|
|
12
|
+
"uri": "user/6",
|
|
13
|
+
"dateCreation": "2019-07-09 15:49:06",
|
|
14
|
+
"dateModified": "2019-07-09 15:51:35",
|
|
15
|
+
"title": "User1",
|
|
16
|
+
"_url": "/user/6",
|
|
17
|
+
"level": 5
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"id": 7,
|
|
21
|
+
"mainType": "user",
|
|
22
|
+
"type": "user",
|
|
23
|
+
"uri": "user/7",
|
|
24
|
+
"dateCreation": "2019-07-09 15:49:25",
|
|
25
|
+
"dateModified": "2019-07-09 15:51:50",
|
|
26
|
+
"title": "User2",
|
|
27
|
+
"_url": "/user/7",
|
|
28
|
+
"level": 5
|
|
29
|
+
}
|
|
30
|
+
],
|
|
31
|
+
"read": ["user/6", "user/7"],
|
|
32
|
+
"write": ["user/6"]
|
|
33
|
+
}
|
|
34
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
{
|
|
2
|
+
"o": "onlyOffice",
|
|
3
|
+
"f": "getObjectAccessRequest",
|
|
4
|
+
"error": 0,
|
|
5
|
+
"messages": [],
|
|
6
|
+
"result": [
|
|
7
|
+
{
|
|
8
|
+
"id": 4,
|
|
9
|
+
"mainType": "user",
|
|
10
|
+
"type": "user",
|
|
11
|
+
"uri": "user/4",
|
|
12
|
+
"dateCreation": "2019-07-09 15:48:26",
|
|
13
|
+
"dateModified": "2019-07-09 15:51:24",
|
|
14
|
+
"title": "Admin1",
|
|
15
|
+
"_url": "/user/4",
|
|
16
|
+
"level": 9
|
|
17
|
+
}
|
|
18
|
+
]
|
|
19
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
{
|
|
2
|
+
"o": "onlyOffice",
|
|
3
|
+
"f": "getTemplates",
|
|
4
|
+
"error": 0,
|
|
5
|
+
"messages": [],
|
|
6
|
+
"result": [
|
|
7
|
+
{
|
|
8
|
+
"label": "Traitement de texte",
|
|
9
|
+
"description": "Traitement de texte",
|
|
10
|
+
"extension": "docx",
|
|
11
|
+
"icon": "icon-file-word-o",
|
|
12
|
+
"color": "#566DC6"
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"label": "Tableur",
|
|
16
|
+
"description": "Tableur",
|
|
17
|
+
"extension": "xlsx",
|
|
18
|
+
"icon": "icon-file-excel-o",
|
|
19
|
+
"color": "#218273"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"label": "Pr\u00e9sentation",
|
|
23
|
+
"description": "Pr\u00e9sentation",
|
|
24
|
+
"extension": "pptx",
|
|
25
|
+
"icon": "icon-file-powerpoint-o",
|
|
26
|
+
"color": "#E2472D"
|
|
27
|
+
}
|
|
28
|
+
]
|
|
29
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{ "o": "onlyOffice", "f": "setObjectAccess", "error": 0, "messages": [], "result": true }
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{ "o": "onlyOffice", "f": "setObjectAccessRequest", "error": 0, "messages": [], "result": [] }
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{ "o": "onlyOffice", "f": "updateFile", "error": 0, "messages": [], "result": true }
|
|
@@ -59,7 +59,8 @@
|
|
|
59
59
|
"value": "[* TO NOW/DAY-1YEAR]"
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
|
-
}
|
|
62
|
+
},
|
|
63
|
+
{ "field": "tag_4", "title": "languages", "facetType": "facet", "facetOptions": {} }
|
|
63
64
|
],
|
|
64
65
|
"mainType": "user",
|
|
65
66
|
"title": "Utilisateur",
|
|
@@ -68,7 +69,7 @@
|
|
|
68
69
|
{
|
|
69
70
|
"id": "spot",
|
|
70
71
|
"facets": [
|
|
71
|
-
{ "field": "type", "title": "Type", "facetType": "facet", "facetOptions": { "limit":
|
|
72
|
+
{ "field": "type", "title": "Type", "facetType": "facet", "facetOptions": { "limit": 27 } },
|
|
72
73
|
{
|
|
73
74
|
"field": "dateCreation",
|
|
74
75
|
"title": "Date",
|
|
@@ -103,7 +104,7 @@
|
|
|
103
104
|
"facets": [
|
|
104
105
|
{ "field": "__sec__", "title": "Audience", "facetType": "facet", "facetOptions": {} },
|
|
105
106
|
{ "field": "idUser", "title": "Auteur", "facetType": "facet", "facetOptions": {} },
|
|
106
|
-
{ "field": "type", "title": "Type", "facetType": "facet", "facetOptions": { "limit":
|
|
107
|
+
{ "field": "type", "title": "Type", "facetType": "facet", "facetOptions": { "limit": 27 } },
|
|
107
108
|
{ "field": "tags", "title": "Mots-cl\u00e9s", "facetType": "facet", "facetOptions": {} },
|
|
108
109
|
{
|
|
109
110
|
"field": "dateCreation",
|
|
@@ -53,6 +53,40 @@
|
|
|
53
53
|
"dateCreation": "2019-07-19 09:35:53",
|
|
54
54
|
"dateModified": "2019-07-19 09:35:53"
|
|
55
55
|
}
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"id": 22,
|
|
59
|
+
"type": "spot",
|
|
60
|
+
"uri": "spot/22",
|
|
61
|
+
"mainType": "spot",
|
|
62
|
+
"_cssColor": "#e34d55",
|
|
63
|
+
"_cssClass": "group",
|
|
64
|
+
"title": "Groupe test A",
|
|
65
|
+
"_url": "/group/22",
|
|
66
|
+
"_values": {
|
|
67
|
+
"privacy": 1,
|
|
68
|
+
"category": "1",
|
|
69
|
+
"dateCreation": "2023-05-29 17:37:03",
|
|
70
|
+
"dateModified": "2023-05-29 17:37:03"
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
]
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"id": "article",
|
|
77
|
+
"title": "Contenu",
|
|
78
|
+
"showAll": true,
|
|
79
|
+
"results": [
|
|
80
|
+
{
|
|
81
|
+
"id": 6,
|
|
82
|
+
"type": "mpArticle",
|
|
83
|
+
"uri": "mpArticle/6",
|
|
84
|
+
"mainType": "article",
|
|
85
|
+
"_cssColor": "#529b60",
|
|
86
|
+
"_cssClass": "article",
|
|
87
|
+
"title": "Article groupe mod\u00e9r\u00e9",
|
|
88
|
+
"_url": "/article/6",
|
|
89
|
+
"_values": { "dateCreation": "2019-07-19 09:37:23", "dateModified": "2023-05-29 17:36:57" }
|
|
56
90
|
}
|
|
57
91
|
]
|
|
58
92
|
}
|
|
@@ -12,15 +12,16 @@
|
|
|
12
12
|
"mainType": "user",
|
|
13
13
|
"type": "user",
|
|
14
14
|
"uri": "user/1",
|
|
15
|
+
"dateCreation": "2019-03-26 16:29:33",
|
|
16
|
+
"dateModified": "2023-05-29 17:37:38",
|
|
15
17
|
"title": "AdminJenkins",
|
|
16
18
|
"_url": "/user/1",
|
|
17
|
-
"dateCreation": "2019-03-26 16:29:33",
|
|
18
|
-
"dateModified": "2019-07-19 09:39:23",
|
|
19
19
|
"level": 9,
|
|
20
20
|
"firstname": "Admin",
|
|
21
21
|
"lastname": "Jenkins",
|
|
22
22
|
"company": "",
|
|
23
|
-
"mail": "admin.jenkins@jamespot.com"
|
|
23
|
+
"mail": "admin.jenkins@jamespot.com",
|
|
24
|
+
"active": 1
|
|
24
25
|
}
|
|
25
26
|
],
|
|
26
27
|
"categories": [
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
{
|
|
2
|
+
"o": "support",
|
|
3
|
+
"f": "configuration",
|
|
4
|
+
"error": 0,
|
|
5
|
+
"messages": [],
|
|
6
|
+
"result": {
|
|
7
|
+
"fieldStatus": {
|
|
8
|
+
"name": "supportStatus",
|
|
9
|
+
"widget": {
|
|
10
|
+
"type": "select",
|
|
11
|
+
"infos": [],
|
|
12
|
+
"params": {
|
|
13
|
+
"class": "w250p",
|
|
14
|
+
"explain": "1",
|
|
15
|
+
"explain-btn-style": "1",
|
|
16
|
+
"explain-btn-style-0": "background-color:#e3e3e3;color:#000000",
|
|
17
|
+
"explain-btn-style-100": "background-color:#3ec3ef;color:#ffffff",
|
|
18
|
+
"explain-btn-style-150": "background-color:#f89406;color:#ffffff",
|
|
19
|
+
"explain-btn-style-200": "background-color:#4dbf96;color:#ffffff",
|
|
20
|
+
"explain-btn-style-400": "background-color:#000;color:#ffffff"
|
|
21
|
+
},
|
|
22
|
+
"options": {
|
|
23
|
+
"0": "SUPPORT_In_Progress",
|
|
24
|
+
"100": "SUPPORT_In_Work",
|
|
25
|
+
"150": "SUPPORT_Pending_Information",
|
|
26
|
+
"200": "SUPPORT_Success",
|
|
27
|
+
"400": "SUPPORT_Close"
|
|
28
|
+
},
|
|
29
|
+
"typeFile": null,
|
|
30
|
+
"format": null,
|
|
31
|
+
"multiple": false
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
"fieldType": {
|
|
35
|
+
"name": "supportType",
|
|
36
|
+
"widget": {
|
|
37
|
+
"type": "select",
|
|
38
|
+
"infos": [],
|
|
39
|
+
"params": [],
|
|
40
|
+
"options": {
|
|
41
|
+
"functional": "SUPPORT_Functional",
|
|
42
|
+
"problem": "SUPPORT_Problem",
|
|
43
|
+
"evolution": "SUPPORT_Evolution"
|
|
44
|
+
},
|
|
45
|
+
"typeFile": null,
|
|
46
|
+
"format": null,
|
|
47
|
+
"multiple": false
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
@@ -4,17 +4,17 @@
|
|
|
4
4
|
"error": 0,
|
|
5
5
|
"messages": [{ "code": 200, "msg": "Enregistrement r\u00e9ussi" }],
|
|
6
6
|
"result": {
|
|
7
|
-
"id":
|
|
7
|
+
"id": 8,
|
|
8
8
|
"type": "taxonomyClose",
|
|
9
9
|
"title": "test",
|
|
10
|
-
"dateCreation": "
|
|
10
|
+
"dateCreation": "29/05/2023 17:41:24",
|
|
11
11
|
"mainTypes": [],
|
|
12
12
|
"types": null,
|
|
13
13
|
"mandatory": null,
|
|
14
14
|
"public": null,
|
|
15
15
|
"wallFilter": null,
|
|
16
16
|
"jamespot": "",
|
|
17
|
-
"uri": "taxonomyClose/
|
|
17
|
+
"uri": "taxonomyClose/8",
|
|
18
18
|
"mainType": "taxonomy",
|
|
19
19
|
"_cssColor": "#76b9f2",
|
|
20
20
|
"_cssClass": "article",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"_values": {
|
|
32
32
|
"type": "taxonomyClose",
|
|
33
33
|
"title": "test",
|
|
34
|
-
"dateCreation": "2023-
|
|
34
|
+
"dateCreation": "2023-05-29 17:41:24",
|
|
35
35
|
"mainTypes": null,
|
|
36
36
|
"types": null,
|
|
37
37
|
"mandatory": null,
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"wallFilter": null,
|
|
40
40
|
"jamespot": null
|
|
41
41
|
},
|
|
42
|
-
"_timezone": { "dateCreation": "2023-
|
|
43
|
-
"_url": "/taxonomy/
|
|
42
|
+
"_timezone": { "dateCreation": "2023-05-29 17:41:24" },
|
|
43
|
+
"_url": "/taxonomy/8"
|
|
44
44
|
}
|
|
45
45
|
}
|
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
"id": 3,
|
|
87
87
|
"type": "taxonomyOpen",
|
|
88
88
|
"title": "Mots-cl\u00e9s FAQ",
|
|
89
|
-
"dateCreation": "
|
|
89
|
+
"dateCreation": "29/05/2023 17:32:16",
|
|
90
90
|
"mainTypes": [],
|
|
91
91
|
"types": null,
|
|
92
92
|
"mandatory": null,
|
|
@@ -110,7 +110,7 @@
|
|
|
110
110
|
"_values": {
|
|
111
111
|
"type": "taxonomyOpen",
|
|
112
112
|
"title": "FAQ_Custom_Taxonomy",
|
|
113
|
-
"dateCreation": "2023-
|
|
113
|
+
"dateCreation": "2023-05-29 17:32:16",
|
|
114
114
|
"mainTypes": null,
|
|
115
115
|
"types": ["faqItem"],
|
|
116
116
|
"mandatory": null,
|
|
@@ -118,21 +118,99 @@
|
|
|
118
118
|
"wallFilter": null,
|
|
119
119
|
"jamespot": "1"
|
|
120
120
|
},
|
|
121
|
-
"_timezone": { "dateCreation": "2023-
|
|
121
|
+
"_timezone": { "dateCreation": "2023-05-29 17:32:16" },
|
|
122
122
|
"_url": "/taxonomy/3"
|
|
123
123
|
},
|
|
124
124
|
{
|
|
125
|
-
"id":
|
|
125
|
+
"id": 5,
|
|
126
|
+
"type": "taxonomyClose",
|
|
127
|
+
"title": "Gestion des r\u00e9servations",
|
|
128
|
+
"dateCreation": "29/05/2023 17:38:54",
|
|
129
|
+
"mainTypes": [],
|
|
130
|
+
"types": null,
|
|
131
|
+
"mandatory": null,
|
|
132
|
+
"public": null,
|
|
133
|
+
"wallFilter": null,
|
|
134
|
+
"jamespot": "1",
|
|
135
|
+
"uri": "taxonomyClose/5",
|
|
136
|
+
"mainType": "taxonomy",
|
|
137
|
+
"_cssColor": "#76b9f2",
|
|
138
|
+
"_cssClass": "article",
|
|
139
|
+
"_right": {
|
|
140
|
+
"create": true,
|
|
141
|
+
"read": true,
|
|
142
|
+
"publish": true,
|
|
143
|
+
"administrate": true,
|
|
144
|
+
"update": true,
|
|
145
|
+
"delete": true,
|
|
146
|
+
"comment": true,
|
|
147
|
+
"member": true
|
|
148
|
+
},
|
|
149
|
+
"_values": {
|
|
150
|
+
"type": "taxonomyClose",
|
|
151
|
+
"title": "TAXONOMY_Asset_Reservation_Equipment",
|
|
152
|
+
"dateCreation": "2023-05-29 17:38:54",
|
|
153
|
+
"mainTypes": null,
|
|
154
|
+
"types": [],
|
|
155
|
+
"mandatory": null,
|
|
156
|
+
"public": null,
|
|
157
|
+
"wallFilter": null,
|
|
158
|
+
"jamespot": "1"
|
|
159
|
+
},
|
|
160
|
+
"_timezone": { "dateCreation": "2023-05-29 17:38:54" },
|
|
161
|
+
"_url": "/taxonomy/5"
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
"id": 6,
|
|
165
|
+
"type": "taxonomyClose",
|
|
166
|
+
"title": "Secteur",
|
|
167
|
+
"dateCreation": "29/05/2023 17:41:00",
|
|
168
|
+
"mainTypes": [],
|
|
169
|
+
"types": null,
|
|
170
|
+
"mandatory": null,
|
|
171
|
+
"public": null,
|
|
172
|
+
"wallFilter": null,
|
|
173
|
+
"jamespot": "1",
|
|
174
|
+
"uri": "taxonomyClose/6",
|
|
175
|
+
"mainType": "taxonomy",
|
|
176
|
+
"_cssColor": "#76b9f2",
|
|
177
|
+
"_cssClass": "article",
|
|
178
|
+
"_right": {
|
|
179
|
+
"create": true,
|
|
180
|
+
"read": true,
|
|
181
|
+
"publish": true,
|
|
182
|
+
"administrate": true,
|
|
183
|
+
"update": true,
|
|
184
|
+
"delete": true,
|
|
185
|
+
"comment": true,
|
|
186
|
+
"member": true
|
|
187
|
+
},
|
|
188
|
+
"_values": {
|
|
189
|
+
"type": "taxonomyClose",
|
|
190
|
+
"title": "TAXONOMY_businessNetworking_Business_Line",
|
|
191
|
+
"dateCreation": "2023-05-29 17:41:00",
|
|
192
|
+
"mainTypes": null,
|
|
193
|
+
"types": [],
|
|
194
|
+
"mandatory": null,
|
|
195
|
+
"public": null,
|
|
196
|
+
"wallFilter": null,
|
|
197
|
+
"jamespot": "1"
|
|
198
|
+
},
|
|
199
|
+
"_timezone": { "dateCreation": "2023-05-29 17:41:00" },
|
|
200
|
+
"_url": "/taxonomy/6"
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
"id": 7,
|
|
126
204
|
"type": "taxonomyOpen",
|
|
127
205
|
"title": "taxonomyTitle for taxonomyHookTest",
|
|
128
|
-
"dateCreation": "
|
|
206
|
+
"dateCreation": "29/05/2023 17:41:24",
|
|
129
207
|
"mainTypes": [],
|
|
130
208
|
"types": null,
|
|
131
209
|
"mandatory": null,
|
|
132
|
-
"public":
|
|
210
|
+
"public": "Oui",
|
|
133
211
|
"wallFilter": null,
|
|
134
212
|
"jamespot": "",
|
|
135
|
-
"uri": "taxonomyOpen/
|
|
213
|
+
"uri": "taxonomyOpen/7",
|
|
136
214
|
"mainType": "taxonomy",
|
|
137
215
|
"_cssColor": "#76b9f2",
|
|
138
216
|
"_cssClass": "article",
|
|
@@ -149,29 +227,29 @@
|
|
|
149
227
|
"_values": {
|
|
150
228
|
"type": "taxonomyOpen",
|
|
151
229
|
"title": "taxonomyTitle for taxonomyHookTest",
|
|
152
|
-
"dateCreation": "2023-
|
|
230
|
+
"dateCreation": "2023-05-29 17:41:24",
|
|
153
231
|
"mainTypes": null,
|
|
154
232
|
"types": [],
|
|
155
233
|
"mandatory": null,
|
|
156
|
-
"public":
|
|
234
|
+
"public": "1",
|
|
157
235
|
"wallFilter": null,
|
|
158
236
|
"jamespot": null
|
|
159
237
|
},
|
|
160
|
-
"_timezone": { "dateCreation": "2023-
|
|
161
|
-
"_url": "/taxonomy/
|
|
238
|
+
"_timezone": { "dateCreation": "2023-05-29 17:41:24" },
|
|
239
|
+
"_url": "/taxonomy/7"
|
|
162
240
|
},
|
|
163
241
|
{
|
|
164
|
-
"id":
|
|
242
|
+
"id": 8,
|
|
165
243
|
"type": "taxonomyClose",
|
|
166
244
|
"title": "test",
|
|
167
|
-
"dateCreation": "
|
|
245
|
+
"dateCreation": "29/05/2023 17:41:24",
|
|
168
246
|
"mainTypes": [],
|
|
169
247
|
"types": null,
|
|
170
248
|
"mandatory": null,
|
|
171
249
|
"public": null,
|
|
172
250
|
"wallFilter": null,
|
|
173
251
|
"jamespot": "",
|
|
174
|
-
"uri": "taxonomyClose/
|
|
252
|
+
"uri": "taxonomyClose/8",
|
|
175
253
|
"mainType": "taxonomy",
|
|
176
254
|
"_cssColor": "#76b9f2",
|
|
177
255
|
"_cssClass": "article",
|
|
@@ -188,7 +266,7 @@
|
|
|
188
266
|
"_values": {
|
|
189
267
|
"type": "taxonomyClose",
|
|
190
268
|
"title": "test",
|
|
191
|
-
"dateCreation": "2023-
|
|
269
|
+
"dateCreation": "2023-05-29 17:41:24",
|
|
192
270
|
"mainTypes": null,
|
|
193
271
|
"types": null,
|
|
194
272
|
"mandatory": null,
|
|
@@ -196,8 +274,8 @@
|
|
|
196
274
|
"wallFilter": null,
|
|
197
275
|
"jamespot": null
|
|
198
276
|
},
|
|
199
|
-
"_timezone": { "dateCreation": "2023-
|
|
200
|
-
"_url": "/taxonomy/
|
|
277
|
+
"_timezone": { "dateCreation": "2023-05-29 17:41:24" },
|
|
278
|
+
"_url": "/taxonomy/8"
|
|
201
279
|
}
|
|
202
280
|
]
|
|
203
281
|
}
|
|
@@ -19,6 +19,8 @@
|
|
|
19
19
|
"function",
|
|
20
20
|
"department",
|
|
21
21
|
"country",
|
|
22
|
+
"timeZone",
|
|
23
|
+
"language",
|
|
22
24
|
"description",
|
|
23
25
|
"webSite",
|
|
24
26
|
"mail"
|
|
@@ -29,6 +31,6 @@
|
|
|
29
31
|
{ "name": "firstname", "type": "text" },
|
|
30
32
|
{ "name": "lastname", "type": "text" }
|
|
31
33
|
],
|
|
32
|
-
"userGeoloc":
|
|
34
|
+
"userGeoloc": false
|
|
33
35
|
}
|
|
34
36
|
}
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"type": "user",
|
|
10
10
|
"uri": "user/6",
|
|
11
11
|
"dateCreation": "2019-07-09 15:49:06",
|
|
12
|
-
"dateModified": "
|
|
12
|
+
"dateModified": "2023-05-29 17:37:34",
|
|
13
13
|
"title": "User1",
|
|
14
14
|
"_url": "/user/6",
|
|
15
15
|
"level": 5,
|
|
@@ -17,13 +17,15 @@
|
|
|
17
17
|
"lastname": "User",
|
|
18
18
|
"company": "",
|
|
19
19
|
"mail": "user1@jamespot.com",
|
|
20
|
+
"active": 1,
|
|
20
21
|
"phoneNumber": "",
|
|
21
22
|
"mobileNumber": "",
|
|
22
23
|
"function": "",
|
|
23
24
|
"department": "",
|
|
24
25
|
"country": "",
|
|
26
|
+
"timeZone": "Europe/Paris",
|
|
27
|
+
"language": "fr",
|
|
25
28
|
"description": "",
|
|
26
|
-
"webSite": ""
|
|
27
|
-
"dateOfBirth": null
|
|
29
|
+
"webSite": ""
|
|
28
30
|
}
|
|
29
31
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="default"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>ApiError | jamespot-user-api</title><meta name="description" content="Documentation for jamespot-user-api"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.body.classList.add(localStorage.getItem("tsd-theme") || "os")</script><header><div class="tsd-page-toolbar"><div class="container"><div class="table-wrap"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget search no-caption">Search</label><input type="text" id="tsd-search-field"/></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">jamespot-user-api</a></div><div class="table-cell" id="tsd-widgets"><div id="tsd-filter"><a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a><div class="tsd-filter-group"><div class="tsd-select" id="tsd-filter-visibility"><span class="tsd-select-label">All</span><ul class="tsd-select-list"><li data-value="public">Public</li><li data-value="protected">Public/Protected</li><li data-value="private" class="selected">All</li></ul></div> <input type="checkbox" id="tsd-filter-inherited" checked/><label class="tsd-widget" for="tsd-filter-inherited">Inherited</label><input type="checkbox" id="tsd-filter-externals" checked/><label class="tsd-widget" for="tsd-filter-externals">Externals</label></div></div><a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a></div></div></div></div><div class="tsd-page-title"><div class="container"><ul class="tsd-breadcrumb"><li><a href="../modules.html">jamespot-user-api</a></li><li><a href="ApiError.html">ApiError</a></li></ul><h1>Interface ApiError<U></h1></div></div></header><div class="container container-main"><div class="row"><div class="col-8 col-content"><section class="tsd-panel tsd-type-parameters"><h3>Type parameters</h3><ul class="tsd-type-parameters"><li><h4>U = <span class="tsd-signature-type">string</span></h4></li></ul></section><section class="tsd-panel tsd-hierarchy"><h3>Hierarchy</h3><ul class="tsd-hierarchy"><li><span class="target">ApiError</span></li></ul></section><section class="tsd-panel-group tsd-index-group"><h2>Index</h2><section class="tsd-panel tsd-index-panel"><div class="tsd-index-content"><section class="tsd-index-section "><h3>Properties</h3><ul class="tsd-index-list"><li class="tsd-kind-property tsd-parent-kind-interface"><a href="ApiError.html#error" class="tsd-kind-icon">error</a></li><li class="tsd-kind-property tsd-parent-kind-interface"><a href="ApiError.html#messages" class="tsd-kind-icon">messages</a></li></ul></section></div></section></section><section class="tsd-panel-group tsd-member-group "><h2>Properties</h2><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="error" class="tsd-anchor"></a><h3 class="tsd-anchor-link">error<a href="#error" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">error<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/Jamespot/jamespot-user-api/blob/c1590dc/src/types/utils.ts#L58">types/utils.ts:58</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="messages" class="tsd-anchor"></a><h3 class="tsd-anchor-link">messages<a href="#messages" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">messages<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type" data-tsd-kind="Type parameter">U</span><span class="tsd-signature-symbol">[]</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/Jamespot/jamespot-user-api/blob/c1590dc/src/types/utils.ts#L59">types/utils.ts:59</a></li></ul></aside></section></section></div><div class="col-4 col-menu menu-sticky-wrap menu-highlight"><nav class="tsd-navigation primary"><ul><li class=""><a href="../modules.html">Exports</a></li></ul></nav><nav class="tsd-navigation secondary menu-sticky"><ul><li class="current tsd-kind-interface tsd-has-type-parameter"><a href="ApiError.html" class="tsd-kind-icon">Api<wbr/>Error</a><ul><li class="tsd-kind-property tsd-parent-kind-interface"><a href="ApiError.html#error" class="tsd-kind-icon">error</a></li><li class="tsd-kind-property tsd-parent-kind-interface"><a href="ApiError.html#messages" class="tsd-kind-icon">messages</a></li></ul></li></ul></nav></div></div></div><footer class="with-border-bottom"><div class="container"><h2>Legend</h2><div class="tsd-legend-group"><ul class="tsd-legend"><li class="tsd-kind-constructor tsd-parent-kind-class"><span class="tsd-kind-icon">Constructor</span></li><li class="tsd-kind-property tsd-parent-kind-class"><span class="tsd-kind-icon">Property</span></li><li class="tsd-kind-method tsd-parent-kind-class"><span class="tsd-kind-icon">Method</span></li></ul><ul class="tsd-legend"><li class="tsd-kind-property tsd-parent-kind-interface"><span class="tsd-kind-icon">Property</span></li><li class="tsd-kind-method tsd-parent-kind-interface"><span class="tsd-kind-icon">Method</span></li></ul><ul class="tsd-legend"><li class="tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited constructor</span></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited property</span></li></ul><ul class="tsd-legend"><li class="tsd-kind-property tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private property</span></li></ul><ul class="tsd-legend"><li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static method</span></li></ul></div><h2>Settings</h2><p>Theme <select id="theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></p></div></footer><div class="container tsd-generator"><p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div><div class="overlay"></div><script src="../assets/main.js"></script></body></html>
|
package/lib/src/apis/share.d.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { ApiWrapper } from '../types';
|
|
2
|
-
import { JBaseApi } from './base';
|
|
3
|
-
import { ShareAccessObject, ShareAccessProps, ShareAccessRequestProps } from '../types/share';
|
|
4
|
-
export declare class JShareApi extends JBaseApi {
|
|
5
|
-
setObjectAccessRequest(uri: string, idUser: number, requestAccessValue: 'accept' | 'deny', requestResponseMessage?: string): Promise<ApiWrapper<boolean, {
|
|
6
|
-
code: number;
|
|
7
|
-
msg: string;
|
|
8
|
-
}>>;
|
|
9
|
-
getObjectAccessRequest(uri: string, idUser?: number): Promise<ShareAccessRequestProps[]>;
|
|
10
|
-
getObject(uri: string): Promise<ShareAccessObject>;
|
|
11
|
-
askObjectAccess(uri: string, askAccess: 'read' | 'write', askMessage?: string): Promise<boolean>;
|
|
12
|
-
setObjectAccess(uri: string, access: {
|
|
13
|
-
read: string[];
|
|
14
|
-
write: string[];
|
|
15
|
-
}, message: string, generalAccessRule: string): Promise<boolean>;
|
|
16
|
-
getObjectAccess(uri: string): Promise<ShareAccessProps>;
|
|
17
|
-
}
|