jamespot-user-api 1.0.204 → 1.0.205
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 +14 -14
- 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/JBbbApi.html +1 -1
- package/documentation/classes/JBookmarkApi.html +1 -1
- package/documentation/classes/JBusinessNetworkingApi.html +1 -1
- package/documentation/classes/JCalendarApi.html +1 -1
- package/documentation/classes/JCommunityApi.html +1 -1
- package/documentation/classes/JDatasourceApi.html +1 -1
- package/documentation/classes/JDiapazoneApi.html +1 -1
- package/documentation/classes/JExternalAppApi.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/JGlobalApi.html +1 -1
- package/documentation/classes/JGroupApi.html +12 -12
- package/documentation/classes/JIAApi.html +1 -1
- package/documentation/classes/JLandApi.html +1 -1
- package/documentation/classes/JMessengerApi.html +1 -1
- package/documentation/classes/JModuleApi.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/JSocialActionApi.html +1 -1
- package/documentation/classes/JTaxonomyApi.html +2 -2
- package/documentation/classes/JUserApi.html +7 -7
- package/documentation/classes/JWedocApi.html +1 -1
- package/documentation/classes/JWidgetApi.html +1 -1
- package/documentation/classes/JamespotUserApi.html +1 -1
- package/documentation/classes/JitsiApi.html +1 -0
- package/documentation/classes/Network.html +1 -1
- package/documentation/classes/TVDisplayApi.html +1 -1
- package/documentation/classes/WindowBrowser.html +1 -1
- package/documentation/enums/BookmarkType.html +1 -1
- package/documentation/enums/Format.html +1 -1
- package/documentation/enums/GroupModerateStatus.html +1 -1
- package/documentation/enums/StudioApplicationStatus.html +1 -1
- package/documentation/enums/WidgetsName.html +1 -1
- package/documentation/index.html +1 -1
- package/documentation/interfaces/AccessRightObject.html +1 -1
- package/documentation/interfaces/ApiDefaultWrapper.html +1 -1
- package/documentation/interfaces/ApiWrapper.html +1 -1
- package/documentation/interfaces/BaseMessage.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/PagingResults.html +1 -1
- package/documentation/interfaces/RootFolderProps.html +1 -1
- package/documentation/interfaces/SpotProps.html +1 -1
- package/documentation/interfaces/TaxonomyCreate.html +1 -1
- package/documentation/interfaces/WidgetType.html +1 -1
- package/documentation/interfaces/WindowInterface.html +1 -1
- package/documentation/modules.html +11 -11
- package/jest.config.ts +1 -1
- package/lib/jamespot-user-api.js +1 -1
- package/lib/jamespot-user-api.js.map +1 -1
- package/lib/src/apis/application/types.d.ts +14 -3
- package/lib/src/apis/externalApp/externalApp.d.ts +5 -0
- package/lib/src/apis/externalApp/externalApp.mock.d.ts +1 -0
- package/lib/src/apis/index.d.ts +1 -0
- package/lib/src/apis/jamespotUserApi.d.ts +2 -0
- package/lib/src/apis/jitsi/jitsi.d.ts +7 -0
- package/lib/src/apis/jitsi/jitsi.mock.d.ts +2 -0
- package/lib/src/apis/jitsi/jitsi.test.d.ts +1 -0
- package/lib/src/apis/visioConnect/visioConnect.d.ts +3 -0
- package/lib/src/apis/visioConnect/visioConnect.mock.d.ts +1 -0
- package/lib/src/types/tinymce.d.ts +3 -0
- package/package.json +1 -1
- package/phpunitMock/externalAppDelete-default.json +1 -0
- package/phpunitMock/externalAppList-default.json +5 -5
- package/phpunitMock/externalAppSave-default.json +4 -4
- package/phpunitMock/jitsiResolveUrl-default.json +7 -0
- package/phpunitMock/visioConnectResolveUrl-default.json +7 -0
|
@@ -1,19 +1,29 @@
|
|
|
1
1
|
import { jObjectLittle, Rights, ValueOf } from '../../types';
|
|
2
|
-
|
|
2
|
+
type ApplicationBase = {
|
|
3
3
|
name: string;
|
|
4
4
|
label: string;
|
|
5
5
|
icon: string;
|
|
6
6
|
img: string;
|
|
7
7
|
url: string;
|
|
8
8
|
description: string;
|
|
9
|
-
color
|
|
10
|
-
|
|
9
|
+
color: string;
|
|
10
|
+
};
|
|
11
|
+
export type ApplicationDefault = ApplicationBase & {
|
|
12
|
+
hasLicense?: boolean;
|
|
11
13
|
sref?: string;
|
|
12
14
|
type?: string;
|
|
13
15
|
_extend?: {
|
|
14
16
|
[key: string]: any;
|
|
15
17
|
};
|
|
16
18
|
};
|
|
19
|
+
export type ApplicationLink = ApplicationBase & {
|
|
20
|
+
urlTarget: '_blank';
|
|
21
|
+
urlNoReferrer: boolean;
|
|
22
|
+
};
|
|
23
|
+
export type ApplicationIframe = ApplicationBase & {
|
|
24
|
+
urlIframe: string;
|
|
25
|
+
};
|
|
26
|
+
export type ApplicationType = ApplicationDefault | ApplicationLink | ApplicationIframe;
|
|
17
27
|
export type StudioAction = {
|
|
18
28
|
action: string;
|
|
19
29
|
nameApp: string;
|
|
@@ -91,3 +101,4 @@ export declare enum StudioApplicationStatus {
|
|
|
91
101
|
}
|
|
92
102
|
export type StudioApplicationStatusEnumBased = ValueOf<StudioApplicationStatus>;
|
|
93
103
|
export type StudioApplication = StudioApplicationBase & {};
|
|
104
|
+
export {};
|
|
@@ -10,4 +10,9 @@ export declare class JExternalAppApi extends JBaseApi {
|
|
|
10
10
|
list(params?: {
|
|
11
11
|
signal?: AbortSignal;
|
|
12
12
|
}): Promise<ApiWrapper<Record<string, ExternalAppType>>>;
|
|
13
|
+
delete(payload: {
|
|
14
|
+
id: string;
|
|
15
|
+
}, params?: {
|
|
16
|
+
signal?: AbortSignal;
|
|
17
|
+
}): Promise<ApiWrapper<boolean>>;
|
|
13
18
|
}
|
|
@@ -2,3 +2,4 @@ import { ExternalAppType } from '../../types/externalApp';
|
|
|
2
2
|
import { ApiWrapper } from '../../types/utils';
|
|
3
3
|
export declare const mockExternalAppList: ApiWrapper<Record<string, ExternalAppType>>;
|
|
4
4
|
export declare const mockExternalAppSave: ApiWrapper<ExternalAppType>;
|
|
5
|
+
export declare const mockExternalAppDelete: ApiWrapper<boolean>;
|
package/lib/src/apis/index.d.ts
CHANGED
|
@@ -19,6 +19,7 @@ export * from './global/global';
|
|
|
19
19
|
export * from './group/group';
|
|
20
20
|
export * from './jamespotUserApi';
|
|
21
21
|
export * from './jia/jia';
|
|
22
|
+
export * from './jitsi/jitsi';
|
|
22
23
|
export * from './jland/jland';
|
|
23
24
|
export * from './messenger';
|
|
24
25
|
export * from './module/module';
|
|
@@ -39,6 +39,7 @@ import { JQuestionAnswerApi } from './questionAnswer/questionAnswer';
|
|
|
39
39
|
import { JVisioConnectApi } from './visioConnect/visioConnect';
|
|
40
40
|
import { JModuleApi } from './module/module';
|
|
41
41
|
import { JExternalAppApi } from './externalApp/externalApp';
|
|
42
|
+
import { JitsiApi } from './jitsi/jitsi';
|
|
42
43
|
/**
|
|
43
44
|
* In browser usage, 'window' should be the window object.
|
|
44
45
|
* In server side usage, 'window' object given must implement the fetch method, used by the Apis.
|
|
@@ -76,6 +77,7 @@ export declare class JamespotUserApi {
|
|
|
76
77
|
global: JGlobalApi;
|
|
77
78
|
group: JGroupApi;
|
|
78
79
|
jia: JIAApi;
|
|
80
|
+
jitsi: JitsiApi;
|
|
79
81
|
jland: JLandApi;
|
|
80
82
|
magicPad: JMagicPadApi;
|
|
81
83
|
mediaLibrary: JMediaLibraryApi;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -4,4 +4,7 @@ export declare class JVisioConnectApi extends JBaseApi {
|
|
|
4
4
|
recordingDelete(id: number, filename: string, options?: {
|
|
5
5
|
signal?: AbortSignal;
|
|
6
6
|
}): Promise<ApiWrapper<boolean>>;
|
|
7
|
+
resolveUrl({ uri }: {
|
|
8
|
+
uri: string;
|
|
9
|
+
}, signal?: AbortSignal): Promise<ApiWrapper<string>>;
|
|
7
10
|
}
|
|
@@ -59,6 +59,7 @@ export declare const tinyMCECommonOptionsSchema: z.ZodObject<z.objectUtil.extend
|
|
|
59
59
|
paste_data_images: z.ZodBoolean;
|
|
60
60
|
browser_spellcheck: z.ZodBoolean;
|
|
61
61
|
quickbars_insert_toolbar: z.ZodBoolean;
|
|
62
|
+
license_key: z.ZodLiteral<"gpl">;
|
|
62
63
|
}>, "strip", z.ZodTypeAny, {
|
|
63
64
|
height: number;
|
|
64
65
|
language: string;
|
|
@@ -88,6 +89,7 @@ export declare const tinyMCECommonOptionsSchema: z.ZodObject<z.objectUtil.extend
|
|
|
88
89
|
paste_data_images: boolean;
|
|
89
90
|
browser_spellcheck: boolean;
|
|
90
91
|
quickbars_insert_toolbar: boolean;
|
|
92
|
+
license_key: "gpl";
|
|
91
93
|
}, {
|
|
92
94
|
height: number;
|
|
93
95
|
language: string;
|
|
@@ -117,6 +119,7 @@ export declare const tinyMCECommonOptionsSchema: z.ZodObject<z.objectUtil.extend
|
|
|
117
119
|
paste_data_images: boolean;
|
|
118
120
|
browser_spellcheck: boolean;
|
|
119
121
|
quickbars_insert_toolbar: boolean;
|
|
122
|
+
license_key: "gpl";
|
|
120
123
|
}>;
|
|
121
124
|
export type TinyMCECommonOptions = z.infer<typeof tinyMCECommonOptionsSchema>;
|
|
122
125
|
export declare const tinymceExtendedOptionsSchema: z.ZodObject<{
|
package/package.json
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{ "o": "externalApp", "f": "delete", "error": 0, "messages": [], "result": true }
|
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
"error": 0,
|
|
5
5
|
"messages": [],
|
|
6
6
|
"result": {
|
|
7
|
-
"
|
|
8
|
-
"id": "
|
|
9
|
-
"label": "External App 0.
|
|
7
|
+
"6745e5f2043fe": {
|
|
8
|
+
"id": "6745e5f2043fe",
|
|
9
|
+
"label": "External App 0.67257900 1732634097",
|
|
10
10
|
"description": "External App description",
|
|
11
11
|
"icon": "fs-applications",
|
|
12
12
|
"color": "#8F7CEA",
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
"accessRight": 0,
|
|
15
15
|
"accessRightSelector": [],
|
|
16
16
|
"mode": "link",
|
|
17
|
-
"
|
|
18
|
-
"
|
|
17
|
+
"urlTarget": true,
|
|
18
|
+
"urlNoReferrer": true
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
21
|
}
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
"error": 0,
|
|
5
5
|
"messages": [],
|
|
6
6
|
"result": {
|
|
7
|
-
"id": "
|
|
8
|
-
"label": "External App 0.
|
|
7
|
+
"id": "6745e5f2043fe",
|
|
8
|
+
"label": "External App 0.67257900 1732634097",
|
|
9
9
|
"description": "External App description",
|
|
10
10
|
"icon": "fs-applications",
|
|
11
11
|
"color": "#8F7CEA",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"accessRight": 0,
|
|
14
14
|
"accessRightSelector": [],
|
|
15
15
|
"mode": "link",
|
|
16
|
-
"
|
|
17
|
-
"
|
|
16
|
+
"urlTarget": true,
|
|
17
|
+
"urlNoReferrer": true
|
|
18
18
|
}
|
|
19
19
|
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"o": "visioConnect",
|
|
3
|
+
"f": "resolveUrl",
|
|
4
|
+
"error": 0,
|
|
5
|
+
"messages": [],
|
|
6
|
+
"result": "VISIO_CONNECT_URL/room/jenkins2018_instance_1/eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpZCI6IjIyIiwidXJpIjoic29jaWFsRXZlbnRcLzIyIiwiaWRVc2VyIjo0LCJ1c2VybmFtZSI6IkFkbWluMSIsInBlcm1hTGluayI6IjM1YzgzOGRjNWRlN2Q1NjdhZjJjNWNhYzE2MjIwNzJiIiwicmVkaXJlY3RVcmwiOiJodHRwOlwvXC9qZW5raW5zLXByZXByb2QuZGV2LmphbWVzcG90LnByb1wvP2FjdGlvbj12aXNpb0Nvbm5lY3RDcmVhdGVkJnVyaT1zb2NpYWxFdmVudFwvMjIiLCJ0aXRsZSI6ImEtMSJ9.7NH0Ioi967IIcxjGl164WMdtqBrz5NgFrU8Fr3oSpyY"
|
|
7
|
+
}
|