jamespot-user-api 1.0.105 → 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/index.d.ts +4 -3
- package/lib/src/apis/jamespotUserApi.d.ts +3 -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/share.d.ts +7 -17
- package/lib/src/types/utils.d.ts +1 -8
- package/lib/src/types/wedoc.d.ts +6 -21
- package/lib/src/util/Test.d.ts +10 -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/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/objectList-bookmarksList.json +92 -0
- 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/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,50 @@
|
|
|
1
|
+
{
|
|
2
|
+
"o": "onlyOffice",
|
|
3
|
+
"f": "getFile",
|
|
4
|
+
"error": 0,
|
|
5
|
+
"messages": [],
|
|
6
|
+
"result": {
|
|
7
|
+
"id": 56,
|
|
8
|
+
"title": "xlsx_document.xlsx",
|
|
9
|
+
"mimetype": "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
|
|
10
|
+
"type": "fileArticle",
|
|
11
|
+
"mainType": "fileArticle",
|
|
12
|
+
"uri": "fileArticle/56",
|
|
13
|
+
"dateModified": "2023-04-14 14:39:17",
|
|
14
|
+
"dateCreation": "2023-04-14 14:39:17",
|
|
15
|
+
"_extend": {
|
|
16
|
+
"generalAccessRule": "link",
|
|
17
|
+
"dateModified": "2023-04-14 14:39:17",
|
|
18
|
+
"dateCreation": "2023-04-14 14:39:17",
|
|
19
|
+
"fileInfo": {
|
|
20
|
+
"color": "#218273",
|
|
21
|
+
"description": "Tableur",
|
|
22
|
+
"extension": "xlsx",
|
|
23
|
+
"icon": "icon-file-excel-o",
|
|
24
|
+
"label": "Tableur"
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
"_user": {
|
|
28
|
+
"id": 4,
|
|
29
|
+
"mainType": "user",
|
|
30
|
+
"type": "user",
|
|
31
|
+
"uri": "user/4",
|
|
32
|
+
"title": "Admin1",
|
|
33
|
+
"_url": "/user/4",
|
|
34
|
+
"dateCreation": "2019-07-09 15:48:26",
|
|
35
|
+
"dateModified": "2023-04-14 14:29:47",
|
|
36
|
+
"level": 9
|
|
37
|
+
},
|
|
38
|
+
"_right": {
|
|
39
|
+
"create": true,
|
|
40
|
+
"read": true,
|
|
41
|
+
"publish": false,
|
|
42
|
+
"administrate": true,
|
|
43
|
+
"update": true,
|
|
44
|
+
"delete": true,
|
|
45
|
+
"comment": true,
|
|
46
|
+
"member": true
|
|
47
|
+
},
|
|
48
|
+
"_audience": []
|
|
49
|
+
}
|
|
50
|
+
}
|
|
@@ -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 }
|
|
@@ -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/a9d8840/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/a9d8840/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
|
-
}
|
package/lib/src/apis/wedoc.d.ts
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { ApiWrapper, WedocFileType, WedocQueryResults, WedocQueryType, WedocTemplate } from '../types';
|
|
2
|
-
import { JBaseApi } from './base';
|
|
3
|
-
export declare class JWedocApi extends JBaseApi {
|
|
4
|
-
getFiles(query: WedocQueryType): Promise<WedocQueryResults>;
|
|
5
|
-
getFile(idFile: number, hash?: string): Promise<WedocFileType>;
|
|
6
|
-
getTemplates(): Promise<WedocTemplate[]>;
|
|
7
|
-
duplicateFile(idFile: number, title: string, publishTo: string[]): Promise<ApiWrapper<boolean, {
|
|
8
|
-
code: number;
|
|
9
|
-
msg: string;
|
|
10
|
-
}>>;
|
|
11
|
-
deleteFile(idFile: number): Promise<ApiWrapper<boolean, {
|
|
12
|
-
code: number;
|
|
13
|
-
msg: string;
|
|
14
|
-
}>>;
|
|
15
|
-
createFile(title: string, type: string, publishTo: string[]): Promise<{
|
|
16
|
-
idFile: number;
|
|
17
|
-
}>;
|
|
18
|
-
updateFile(idFile: number, title: string): Promise<ApiWrapper<boolean, {
|
|
19
|
-
code: number;
|
|
20
|
-
msg: string;
|
|
21
|
-
}>>;
|
|
22
|
-
getFileInfo(idFile: number, mode: string): Promise<ApiWrapper<boolean, {
|
|
23
|
-
code: number;
|
|
24
|
-
msg: string;
|
|
25
|
-
}>>;
|
|
26
|
-
}
|