jamespot-user-api 1.0.132 → 1.0.133
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 +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/JFaqApi.html +1 -1
- package/documentation/classes/JFileApi.html +5 -5
- package/documentation/classes/JFilebankApi.html +1 -1
- package/documentation/classes/JGroupApi.html +9 -9
- package/documentation/classes/JLandApi.html +1 -1
- package/documentation/classes/JMessengerApi.html +1 -1
- package/documentation/classes/JObjectApi.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/TVDisplayApi.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 +11 -11
- package/lib/jamespot-user-api.js +1 -1
- package/lib/jamespot-user-api.js.map +1 -1
- package/lib/src/apis/faq/faq.d.ts +5 -1
- package/lib/src/apis/faq/faq.mock.d.ts +8 -0
- package/lib/src/types/faq.d.ts +5 -0
- package/package.json +1 -1
- package/phpunitMock/faqMoveTheme-success.json +103 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { JBaseApi } from '../base';
|
|
2
|
-
import { ApiWrapper, CreateFaqCategory, CreateFaqTheme, EditFaqCategory, ExtendedFaqCategory, FaqAccess, FaqList, FaqView, FaqHookProperties, FaqItemList, FaqTaxonomy, jArticleLittle, Orders, PagingResults, DeleteFaqTheme, EditFaqTheme, ApiDefaultWrapper, Format, CreateFaqEntry, FaqItemView, AddFaqEntry, EditFaqEntry, MoveFaqEntry } from '../../types';
|
|
2
|
+
import { ApiWrapper, CreateFaqCategory, CreateFaqTheme, EditFaqCategory, ExtendedFaqCategory, FaqAccess, FaqList, FaqView, FaqHookProperties, FaqItemList, FaqTaxonomy, jArticleLittle, Orders, PagingResults, DeleteFaqTheme, EditFaqTheme, ApiDefaultWrapper, Format, CreateFaqEntry, FaqItemView, AddFaqEntry, EditFaqEntry, MoveFaqEntry, MoveFaqTheme } from '../../types';
|
|
3
3
|
export declare class JFaqApi extends JBaseApi {
|
|
4
4
|
getCategoriesList<T extends ExtendedFaqCategory<FaqList> = ExtendedFaqCategory<FaqList>>(format?: Format, orders?: Orders): Promise<ApiWrapper<PagingResults<T>>>;
|
|
5
5
|
createCategory<T extends jArticleLittle = FaqView>(params: Omit<CreateFaqCategory, 'type'>, format?: Format): Promise<ApiWrapper<Array<T>>>;
|
|
@@ -24,4 +24,8 @@ export declare class JFaqApi extends JBaseApi {
|
|
|
24
24
|
source?: T;
|
|
25
25
|
target: T;
|
|
26
26
|
}>>;
|
|
27
|
+
moveTheme<T extends jArticleLittle = FaqView>(params: MoveFaqTheme, format?: Format): Promise<ApiWrapper<{
|
|
28
|
+
source: T;
|
|
29
|
+
target: T;
|
|
30
|
+
}>>;
|
|
27
31
|
}
|
package/lib/src/types/faq.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
{
|
|
2
|
+
"o": "faq",
|
|
3
|
+
"f": "moveTheme",
|
|
4
|
+
"error": 0,
|
|
5
|
+
"messages": [
|
|
6
|
+
{
|
|
7
|
+
"code": 200,
|
|
8
|
+
"msg": "Enregistrement r\u00e9ussi"
|
|
9
|
+
}
|
|
10
|
+
],
|
|
11
|
+
"result": {
|
|
12
|
+
"source": {
|
|
13
|
+
"id": 15,
|
|
14
|
+
"mainType": "article",
|
|
15
|
+
"type": "faq",
|
|
16
|
+
"uri": "faq/15",
|
|
17
|
+
"dateCreation": "2024-01-18 16:55:16",
|
|
18
|
+
"dateModified": "2024-01-18 16:55:39",
|
|
19
|
+
"title": "CATEGORY 2",
|
|
20
|
+
"_url": "/ng/app/faq/c/15",
|
|
21
|
+
"_right": {
|
|
22
|
+
"create": true,
|
|
23
|
+
"read": true,
|
|
24
|
+
"publish": false,
|
|
25
|
+
"administrate": true,
|
|
26
|
+
"update": true,
|
|
27
|
+
"delete": true,
|
|
28
|
+
"comment": true,
|
|
29
|
+
"member": true
|
|
30
|
+
},
|
|
31
|
+
"description": "<div class='content-html'>description FAQ FOR TEST categorie 2</div>",
|
|
32
|
+
"_user": {
|
|
33
|
+
"id": 4,
|
|
34
|
+
"mainType": "user",
|
|
35
|
+
"type": "user",
|
|
36
|
+
"uri": "user/4",
|
|
37
|
+
"dateCreation": "2019-07-09 15:48:26",
|
|
38
|
+
"dateModified": "2019-07-09 15:51:24",
|
|
39
|
+
"title": "Admin1",
|
|
40
|
+
"_url": "/user/4",
|
|
41
|
+
"level": 9
|
|
42
|
+
},
|
|
43
|
+
"_audience": [],
|
|
44
|
+
"processContext": null,
|
|
45
|
+
"faqColor": "",
|
|
46
|
+
"tags": [],
|
|
47
|
+
"isWeb": true,
|
|
48
|
+
"faqContent": [
|
|
49
|
+
{
|
|
50
|
+
"title": "FAQ THEME2",
|
|
51
|
+
"items": ["faqItem/16", "faqItem/14"]
|
|
52
|
+
}
|
|
53
|
+
]
|
|
54
|
+
},
|
|
55
|
+
"target": {
|
|
56
|
+
"id": 13,
|
|
57
|
+
"mainType": "article",
|
|
58
|
+
"type": "faq",
|
|
59
|
+
"uri": "faq/13",
|
|
60
|
+
"dateCreation": "2024-01-18 16:55:16",
|
|
61
|
+
"dateModified": "2024-01-18 16:55:39",
|
|
62
|
+
"title": "CATEGORY 1",
|
|
63
|
+
"_url": "/ng/app/faq/c/13",
|
|
64
|
+
"_right": {
|
|
65
|
+
"create": true,
|
|
66
|
+
"read": true,
|
|
67
|
+
"publish": false,
|
|
68
|
+
"administrate": true,
|
|
69
|
+
"update": true,
|
|
70
|
+
"delete": true,
|
|
71
|
+
"comment": true,
|
|
72
|
+
"member": true
|
|
73
|
+
},
|
|
74
|
+
"description": "<div class='content-html'>description FAQ FOR TEST categorie 1</div>",
|
|
75
|
+
"_user": {
|
|
76
|
+
"id": 4,
|
|
77
|
+
"mainType": "user",
|
|
78
|
+
"type": "user",
|
|
79
|
+
"uri": "user/4",
|
|
80
|
+
"dateCreation": "2019-07-09 15:48:26",
|
|
81
|
+
"dateModified": "2019-07-09 15:51:24",
|
|
82
|
+
"title": "Admin1",
|
|
83
|
+
"_url": "/user/4",
|
|
84
|
+
"level": 9
|
|
85
|
+
},
|
|
86
|
+
"_audience": [],
|
|
87
|
+
"processContext": null,
|
|
88
|
+
"faqColor": "",
|
|
89
|
+
"tags": [],
|
|
90
|
+
"isWeb": false,
|
|
91
|
+
"faqContent": [
|
|
92
|
+
{
|
|
93
|
+
"title": "FAQ THEME",
|
|
94
|
+
"items": ["faqItem/14", "faqItem/14"]
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"title": "TEST",
|
|
98
|
+
"items": ["faqItem/22"]
|
|
99
|
+
}
|
|
100
|
+
]
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
}
|