jamespot-user-api 1.0.123 → 1.0.125
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/admin/store.mock.d.ts +4 -0
- package/lib/src/apis/admin/store.test.d.ts +1 -0
- package/lib/src/apis/user/user.d.ts +1 -1
- package/lib/src/apis/wedoc/wedoc.mock.d.ts +0 -4
- package/lib/src/types/group.d.ts +5 -4
- package/lib/src/util/file.d.ts +1 -0
- package/lib/src/util/group.d.ts +2 -0
- package/lib/src/util/index.d.ts +1 -0
- package/package.json +1 -1
- package/phpunitMock/tvDisplayGetConfigureChannel-dynamic.json +35 -1057
- package/phpunitMock/diapazoneCreateDiapazone.json +0 -18
- package/phpunitMock/jLandAdminLogs-full.json +0 -98
- package/phpunitMock/onlyOfficeAskObjectAccess-ask-read.json +0 -1
- package/phpunitMock/onlyOfficeDuplicateFile-duplicate-file.json +0 -19
- package/phpunitMock/onlyOfficeGetObjectAccessHash-default.json +0 -7
- package/phpunitMock/onlyOfficeGetObjectAccessRequest-all-request.json +0 -19
- package/phpunitMock/onlyOfficeSetObjectAccessRequest-accept.json +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -64,7 +64,7 @@ export declare class JUserApi extends JBaseApi {
|
|
|
64
64
|
* @param uri uri
|
|
65
65
|
* @param format little by default. If another format is provided, the generic types should be defined
|
|
66
66
|
*/
|
|
67
|
-
get<T extends jObjectLittle = jObjectLittle>(uri: string, format?: string): Promise<ApiWrapper<T>>;
|
|
67
|
+
get<T extends jObjectLittle = jObjectLittle>(uri: string, format?: string, signal?: AbortSignal): Promise<ApiWrapper<T>>;
|
|
68
68
|
configuration(): Promise<ApiWrapper<UserDirectoryConfiguration>>;
|
|
69
69
|
userList<T extends jObjectLittle = jUserLittle>(payload: ObjectListProps, signal?: AbortSignal): Promise<ApiPagingResults<T>>;
|
|
70
70
|
userQueryList<T extends jObjectLittle = jUserLittle>(payload: ObjectListProps): Promise<ApiPagingResults<T>>;
|
|
@@ -4,10 +4,6 @@ export declare const wedocCreateFile: ApiWrapper<{
|
|
|
4
4
|
idFile: number;
|
|
5
5
|
article: jArticleLittle;
|
|
6
6
|
}>;
|
|
7
|
-
export declare const wedocDuplicateFile: ApiWrapper<{
|
|
8
|
-
idFile: number;
|
|
9
|
-
article: jArticleLittle;
|
|
10
|
-
}>;
|
|
11
7
|
export declare const wedocUpdateFile: ApiWrapper<boolean>;
|
|
12
8
|
export declare const wedocDeleteFile: ApiWrapper<boolean>;
|
|
13
9
|
export declare const wedocGetFile: ApiWrapper<WedocFileType>;
|
package/lib/src/types/group.d.ts
CHANGED
|
@@ -15,20 +15,21 @@ export type SpotBannerImage = {
|
|
|
15
15
|
name: string;
|
|
16
16
|
size: string;
|
|
17
17
|
};
|
|
18
|
-
export type UpdateGroup = CreateGroup & Partial<GroupProperties
|
|
18
|
+
export type UpdateGroup = CreateGroup & Partial<Omit<GroupProperties, 'rss_feed'>> & {
|
|
19
19
|
uri: string;
|
|
20
20
|
image?: string | null;
|
|
21
21
|
spotBanner?: [] | Record<string, SpotBannerImage>;
|
|
22
22
|
token?: string;
|
|
23
23
|
uriCommunity?: string;
|
|
24
|
-
custom_widgets?: Record<string, GroupCustomWidget
|
|
24
|
+
custom_widgets?: Record<string, GroupCustomWidget>;
|
|
25
|
+
rss_feed: string;
|
|
25
26
|
};
|
|
26
27
|
export type GroupProperties = {
|
|
27
28
|
edit_access: '' | 'author';
|
|
28
29
|
commentLevel: '-1' | '1' | '2' | '3';
|
|
29
30
|
user_level_signup: '' | '1' | '2' | '3';
|
|
30
31
|
nounsubscribe: '0' | '1';
|
|
31
|
-
useTeaser: '' | '
|
|
32
|
+
useTeaser: '' | '0' | '1';
|
|
32
33
|
displayType: string;
|
|
33
34
|
spot_right_user: string;
|
|
34
35
|
rss_feed: Array<RssType> | null;
|
|
@@ -116,7 +117,7 @@ export type GroupView = GroupList & {
|
|
|
116
117
|
image?: string | null;
|
|
117
118
|
spotBanner?: [] | Record<string, SpotBannerImage>;
|
|
118
119
|
idCommunity?: string;
|
|
119
|
-
useTeaser?:
|
|
120
|
+
useTeaser?: '' | '0' | '1';
|
|
120
121
|
};
|
|
121
122
|
export type ResetNotificationConfiguration = {
|
|
122
123
|
idSpot: string | number;
|
package/lib/src/util/file.d.ts
CHANGED
|
@@ -19,5 +19,6 @@ export declare const getMimetypeFromName: (name: string) => string;
|
|
|
19
19
|
export declare const resolveFilePath: (file: jFileLittle, size?: string) => string | undefined;
|
|
20
20
|
export declare const getFileFamilyFromName: (name: string) => fileFamilyTypes;
|
|
21
21
|
export declare function getFileFamily(mimetype: string | undefined): fileFamilyTypes;
|
|
22
|
+
export declare const resolveFileUrl: (idFile: number, hash: string, mode?: 'ng' | 'rr') => string;
|
|
22
23
|
export declare const resolveFileMimetype: (file: jFileLittle) => string;
|
|
23
24
|
export declare const resolveFileFamily: (file: jFileLittle) => fileFamilyTypes;
|
package/lib/src/util/index.d.ts
CHANGED