jamespot-user-api 1.0.106 → 1.0.108
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/README-internal.md +14 -14
- package/documentation/assets/search.js +1 -1
- package/documentation/classes/AdminLicenseApi.html +11 -11
- package/documentation/classes/AdminStoreApi.html +1 -1
- package/documentation/classes/AdminUtilsApi.html +1 -1
- package/documentation/classes/JApplicationApi.html +8 -8
- package/documentation/classes/JArticleApi.html +1 -1
- package/documentation/classes/JAssetReservation.html +1 -1
- package/documentation/classes/JAudienceApi.html +1 -1
- 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 +5 -5
- package/documentation/classes/JFilebankApi.html +1 -1
- package/documentation/classes/JGroupApi.html +12 -8
- package/documentation/classes/JLandApi.html +1 -1
- package/documentation/classes/JMessengerApi.html +1 -1
- package/documentation/classes/JSearchApi.html +6 -6
- package/documentation/classes/JShareApi.html +1 -1
- package/documentation/classes/JTaxonomyApi.html +2 -2
- 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 +19 -6
- package/lib/jamespot-user-api.js +1 -1
- package/lib/jamespot-user-api.js.map +1 -1
- package/lib/src/apis/{assetReservation.d.ts → assetReservation/assetReservation.d.ts} +3 -4
- package/lib/src/apis/assetReservation/assetReservation.mock.d.ts +6 -0
- package/lib/src/apis/base.d.ts +1 -1
- package/lib/src/apis/community.d.ts +39 -2
- package/lib/src/apis/diapazone/diapazone.d.ts +6 -0
- package/lib/src/apis/diapazone/diapazone.mock.d.ts +3 -0
- package/lib/src/apis/diapazone/diapazone.test.d.ts +1 -0
- package/lib/src/apis/{group.d.ts → group/group.d.ts} +23 -13
- package/lib/src/apis/group/group.mock.d.ts +4 -0
- package/lib/src/apis/group/group.test.d.ts +1 -0
- package/lib/src/apis/group/group.types.d.ts +123 -0
- package/lib/src/apis/group/index.d.ts +2 -0
- package/lib/src/apis/index.d.ts +2 -2
- package/lib/src/apis/jamespotUserApi.d.ts +3 -3
- package/lib/src/apis/share/share.d.ts +1 -0
- package/lib/src/apis/wedoc/wedoc.d.ts +1 -1
- package/lib/src/apis/wedoc/wedoc.mock.d.ts +1 -0
- package/lib/src/index.d.ts +1 -3
- package/lib/src/types/assetReservation.d.ts +2 -2
- package/lib/src/types/autocomplete.d.ts +12 -0
- package/lib/src/types/diapazone.d.ts +12 -0
- package/lib/src/types/index.d.ts +1 -1
- package/lib/src/types/realtime.d.ts +37 -11
- package/lib/src/types/user.d.ts +1 -1
- package/lib/src/types/utils.d.ts +6 -1
- package/lib/src/types/wedoc.d.ts +2 -0
- package/lib/src/util/Test.d.ts +10 -1
- package/lib/src/util/index.d.ts +4 -0
- package/lib/src/util/object.d.ts +12 -0
- package/lib/src/util/object.test.d.ts +1 -0
- package/package.json +1 -1
- package/phpunitMock/articleCreate-animatedMeeting.json +41 -0
- package/phpunitMock/assetReservationBookByDate-default.json +76 -0
- package/phpunitMock/assetReservationCancelReservation-default.json +75 -0
- package/phpunitMock/assetReservationCreateReservation-default.json +75 -0
- package/phpunitMock/diapazoneCreateDiapazone.json +18 -0
- package/phpunitMock/objectListAssetReservationList-default.json +428 -0
- package/phpunitMock/objectListDiapazoneQueryList-default-raw-list.json +77 -0
- package/phpunitMock/onlyOfficeGetFile-get-file.json +2 -1
- package/phpunitMock/onlyOfficeGetFiles-get-files.json +2 -1
- package/phpunitMock/onlyOfficeGetObjectAccessHash-default.json +7 -0
- package/phpunitMock/spotGet-default.json +25 -0
- package/phpunitMock/spotGetProperties-default.json +78 -0
- package/pnpm-lock.yaml +12425 -0
- package/lib/src/apis/assetReservation.mock.d.ts +0 -3
- package/lib/src/apis/diapazone.d.ts +0 -24
- package/lib/src/types/group.d.ts +0 -58
- /package/lib/src/apis/{assetReservation.test.d.ts → assetReservation/assetReservation.test.d.ts} +0 -0
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
{
|
|
2
|
+
"o": "ObjectList",
|
|
3
|
+
"f": "DiapazoneQueryList",
|
|
4
|
+
"error": 0,
|
|
5
|
+
"messages": [],
|
|
6
|
+
"result": {
|
|
7
|
+
"limit": 50,
|
|
8
|
+
"page": 1,
|
|
9
|
+
"cnt": 1,
|
|
10
|
+
"data": [
|
|
11
|
+
{
|
|
12
|
+
"id": 35,
|
|
13
|
+
"mainType": "article",
|
|
14
|
+
"type": "animatedMeeting",
|
|
15
|
+
"uri": "animatedMeeting/35",
|
|
16
|
+
"dateCreation": "2023-06-23 14:28:33",
|
|
17
|
+
"dateModified": "2023-06-23 14:28:33",
|
|
18
|
+
"title": "Animated Meeting for test",
|
|
19
|
+
"_url": "/diapazone/35",
|
|
20
|
+
"_right": {
|
|
21
|
+
"create": true,
|
|
22
|
+
"read": true,
|
|
23
|
+
"publish": false,
|
|
24
|
+
"administrate": true,
|
|
25
|
+
"update": true,
|
|
26
|
+
"delete": true,
|
|
27
|
+
"comment": true,
|
|
28
|
+
"member": true
|
|
29
|
+
},
|
|
30
|
+
"_user": {
|
|
31
|
+
"id": 1,
|
|
32
|
+
"mainType": "user",
|
|
33
|
+
"type": "user",
|
|
34
|
+
"uri": "user/1",
|
|
35
|
+
"dateCreation": "2019-03-26 16:29:33",
|
|
36
|
+
"dateModified": "2019-07-19 09:39:23",
|
|
37
|
+
"title": "AdminJenkins",
|
|
38
|
+
"_url": "/user/1",
|
|
39
|
+
"level": 9
|
|
40
|
+
},
|
|
41
|
+
"animatedMeetingContent": {
|
|
42
|
+
"arr": [
|
|
43
|
+
{ "title": "Animated Meeting for test", "color": "#7C90DE", "parts": 3600, "displayValue": 60 }
|
|
44
|
+
],
|
|
45
|
+
"tabs": [],
|
|
46
|
+
"animations": [],
|
|
47
|
+
"visio": null,
|
|
48
|
+
"presence": {},
|
|
49
|
+
"status": {
|
|
50
|
+
"start": true,
|
|
51
|
+
"startDate": "2023-06-23 14:28:35",
|
|
52
|
+
"pause": false,
|
|
53
|
+
"stop": false,
|
|
54
|
+
"seconds": 0
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
"dateStart": "2023-06-23 14:28:33",
|
|
58
|
+
"_extend": { "status": "En cours", "statusValue": 2, "date": "Aujourd'hui de 14:28 \u00e0 15:28" },
|
|
59
|
+
"_audience": [
|
|
60
|
+
{
|
|
61
|
+
"id": 6,
|
|
62
|
+
"mainType": "user",
|
|
63
|
+
"type": "user",
|
|
64
|
+
"uri": "user/6",
|
|
65
|
+
"dateCreation": "2019-07-09 15:49:06",
|
|
66
|
+
"dateModified": "2019-07-09 15:51:35",
|
|
67
|
+
"title": "User1",
|
|
68
|
+
"_url": "/user/6",
|
|
69
|
+
"level": 5
|
|
70
|
+
}
|
|
71
|
+
],
|
|
72
|
+
"_audienceLeft": 0
|
|
73
|
+
}
|
|
74
|
+
],
|
|
75
|
+
"facets": null
|
|
76
|
+
}
|
|
77
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
{
|
|
2
|
+
"o": "spot",
|
|
3
|
+
"f": "get",
|
|
4
|
+
"error": 0,
|
|
5
|
+
"messages": [],
|
|
6
|
+
"result": {
|
|
7
|
+
"id": 2,
|
|
8
|
+
"mainType": "spot",
|
|
9
|
+
"type": "spot",
|
|
10
|
+
"uri": "spot/2",
|
|
11
|
+
"dateCreation": "2019-07-19 18:36:24",
|
|
12
|
+
"dateModified": "2023-06-08 09:19:44",
|
|
13
|
+
"title": "Groupe public",
|
|
14
|
+
"_url": "/group/2",
|
|
15
|
+
"privacy": 1,
|
|
16
|
+
"idCategory": 1,
|
|
17
|
+
"category": "1",
|
|
18
|
+
"description": "",
|
|
19
|
+
"edito": null,
|
|
20
|
+
"language": "fr",
|
|
21
|
+
"image": null,
|
|
22
|
+
"spotBanner": [],
|
|
23
|
+
"useTeaser": ""
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
{
|
|
2
|
+
"o": "spot",
|
|
3
|
+
"f": "getProperties",
|
|
4
|
+
"error": 0,
|
|
5
|
+
"messages": [],
|
|
6
|
+
"result": {
|
|
7
|
+
"_options": {
|
|
8
|
+
"custom_widgets": [],
|
|
9
|
+
"isArchive": 0,
|
|
10
|
+
"edit_access": [
|
|
11
|
+
{ "value": "", "label": "Administrateur", "description": "SPOT_Edit_Access_Admin_Description" },
|
|
12
|
+
{
|
|
13
|
+
"value": "author",
|
|
14
|
+
"label": "R\u00e9dacteur",
|
|
15
|
+
"description": "SPOT_Edit_Access_Contributor_Description"
|
|
16
|
+
}
|
|
17
|
+
],
|
|
18
|
+
"commentLevel": [
|
|
19
|
+
{ "value": "3", "label": "Member", "selected": true },
|
|
20
|
+
{ "value": "2", "label": "Contributor" },
|
|
21
|
+
{ "value": "1", "label": "Administrator" }
|
|
22
|
+
],
|
|
23
|
+
"user_level_signup": [
|
|
24
|
+
{ "value": "3", "label": "Member" },
|
|
25
|
+
{ "value": "2", "label": "Contributor", "selected": true },
|
|
26
|
+
{ "value": "1", "label": "Administrator" }
|
|
27
|
+
],
|
|
28
|
+
"useTeaser": [
|
|
29
|
+
{ "value": "", "label": "Param\u00e8tres par default" },
|
|
30
|
+
{ "value": 1, "label": "Oui" },
|
|
31
|
+
{ "value": 0, "label": "Non" }
|
|
32
|
+
],
|
|
33
|
+
"displayType": [
|
|
34
|
+
{ "value": "doc", "label": "Documentaire" },
|
|
35
|
+
{ "value": "wall", "label": "Dynamique" }
|
|
36
|
+
],
|
|
37
|
+
"spot_right_user": [
|
|
38
|
+
{ "value": "3", "label": "Member" },
|
|
39
|
+
{ "value": "2", "label": "Contributor", "selected": true },
|
|
40
|
+
{ "value": "1", "label": "Administrator" },
|
|
41
|
+
{ "value": "0", "label": "Creator" }
|
|
42
|
+
],
|
|
43
|
+
"spotDefaultPublishType": ["mpMedia", "mpArticle", "mpSocialFile", "socialQuestion"],
|
|
44
|
+
"mail_frequency": [
|
|
45
|
+
{ "value": -1, "label": "Fr\u00e9quence par d\u00e9faut (Temps r\u00e9el)" },
|
|
46
|
+
{ "value": 0, "label": "Temps r\u00e9el" },
|
|
47
|
+
{ "value": 1, "label": "Quotidien" },
|
|
48
|
+
{ "value": 2, "label": "Hebdomadaire" },
|
|
49
|
+
{ "value": 10, "label": "Jamais" }
|
|
50
|
+
],
|
|
51
|
+
"widgets": [
|
|
52
|
+
{ "id": "fbank_box", "title": "Banque documentaire" },
|
|
53
|
+
{ "id": "spot_tags_box", "title": "Tags" }
|
|
54
|
+
]
|
|
55
|
+
},
|
|
56
|
+
"_errors": [],
|
|
57
|
+
"edit_access": "",
|
|
58
|
+
"commentLevel": "3",
|
|
59
|
+
"user_level_signup": "3",
|
|
60
|
+
"nounsubscribe": "1",
|
|
61
|
+
"useTeaser": "",
|
|
62
|
+
"displayType": "wall",
|
|
63
|
+
"spot_right_user": "2",
|
|
64
|
+
"rss_access": "0",
|
|
65
|
+
"rss_key": "",
|
|
66
|
+
"rss_feed": "",
|
|
67
|
+
"spotDefaultPublishType": "mpArticle",
|
|
68
|
+
"mail_frequency": "-1",
|
|
69
|
+
"mail_comment": "1",
|
|
70
|
+
"mail_spotit": "1",
|
|
71
|
+
"mail_subscriber": "",
|
|
72
|
+
"lock_mail": "",
|
|
73
|
+
"activity": "1",
|
|
74
|
+
"publishFolder": "1",
|
|
75
|
+
"notifyFolder": "1",
|
|
76
|
+
"widgets": []
|
|
77
|
+
}
|
|
78
|
+
}
|