jamespot-user-api 1.0.198 → 1.0.200
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/JCommunityApi.html +1 -1
- package/documentation/classes/JDatasourceApi.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/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/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/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/lib/jamespot-user-api.js +1 -1
- package/lib/jamespot-user-api.js.map +1 -1
- package/lib/src/apis/file/file.d.ts +1 -1
- package/lib/src/apis/tvDisplay/tvDisplay.d.ts +24 -8
- package/lib/src/apis/widget/widget.d.ts +61 -21
- package/lib/src/apis/widget/widget.mock.d.ts +8 -2
- package/lib/src/types/article.d.ts +180 -60
- package/lib/src/types/asei.d.ts +18 -6
- package/lib/src/types/assetReservation.d.ts +78 -26
- package/lib/src/types/businessContact.d.ts +12 -4
- package/lib/src/types/comment.d.ts +18 -6
- package/lib/src/types/faq.d.ts +96 -32
- package/lib/src/types/jLand.d.ts +30 -10
- package/lib/src/types/mediaLibrary.d.ts +18 -6
- package/lib/src/types/meeting.d.ts +54 -18
- package/lib/src/types/pollSurvey.d.ts +54 -18
- package/lib/src/types/quizz.d.ts +54 -18
- package/lib/src/types/realtime.d.ts +22 -1
- package/lib/src/types/socialEvent.d.ts +54 -18
- package/lib/src/types/support.d.ts +54 -18
- package/lib/src/types/surveyDate.d.ts +54 -18
- package/lib/src/types/tvDisplay.d.ts +450 -150
- package/lib/src/types/widgets/common.d.ts +3 -2
- package/lib/src/types/widgets/default.d.ts +357 -95
- package/lib/src/types/widgets/ensure.d.ts +1 -1
- package/lib/src/types/widgets/widgetCheckList.d.ts +57 -5
- package/lib/src/types/widgets/widgetExcelDatasourceTable.d.ts +4 -40
- package/lib/src/types/widgets/widgetPresence.d.ts +35 -0
- package/lib/src/types/widgets/widgetQuickSurvey.d.ts +275 -0
- package/lib/src/types/widgets.d.ts +342 -68
- package/lib/src/util/meeting.d.ts +6 -2
- package/lib/src/util/network.d.ts +1 -1
- package/lib/src/util/socialEvent.d.ts +6 -2
- package/lib/src/util/widget.d.ts +6 -3
- package/package.json +1 -1
- package/phpunitMock/widgetCheckListGetResponse-comment-index-0.json +18 -0
- package/phpunitMock/widgetCheckListGetResponse-comment-no-response.json +18 -0
- package/phpunitMock/widgetGetWidget-article-quick-survey.json +21 -0
- package/phpunitMock/widgetQuickSurveyAddEntry-article-quick-survey.json +1 -0
- package/phpunitMock/widgetQuickSurveyGetResponse-article-index-0.json +129 -0
- package/phpunitMock/widgetQuickSurveyGetResponse.json +67 -0
- package/phpunitMock/widgetSurveyGetResponse.json +67 -0
|
@@ -44,7 +44,7 @@ export declare class JFileApi extends JBaseApi {
|
|
|
44
44
|
get<T extends jFileLittle>(idFile: number, format?: FormatList, options?: {
|
|
45
45
|
signal?: AbortSignal;
|
|
46
46
|
}): Promise<ApiWrapper<T>>;
|
|
47
|
-
getParent<T extends jObjectLittle>(idFile: number, format?: FormatList, options?: {
|
|
47
|
+
getParent<T extends jObjectLittle>(idFile: number, format?: FormatList, hash?: string, options?: {
|
|
48
48
|
signal?: AbortSignal;
|
|
49
49
|
}): Promise<ApiWrapper<T>>;
|
|
50
50
|
getWithHash<T extends jFileLittle>(idFile: number, hash: string, format?: FormatList, options?: {
|
|
@@ -94,7 +94,9 @@ export declare class TVDisplayApi extends JBaseApi {
|
|
|
94
94
|
};
|
|
95
95
|
}) | ({
|
|
96
96
|
layers?: string[] | undefined;
|
|
97
|
-
} & import("../..").WidgetPresenceType)
|
|
97
|
+
} & import("../..").WidgetPresenceType) | ({
|
|
98
|
+
layers?: string[] | undefined;
|
|
99
|
+
} & import("../..").WidgetQuickSurveyType)>[] | undefined;
|
|
98
100
|
} & {
|
|
99
101
|
type: string;
|
|
100
102
|
id: number;
|
|
@@ -291,7 +293,9 @@ export declare class TVDisplayApi extends JBaseApi {
|
|
|
291
293
|
};
|
|
292
294
|
}) | ({
|
|
293
295
|
layers?: string[] | undefined;
|
|
294
|
-
} & import("../..").WidgetPresenceType)
|
|
296
|
+
} & import("../..").WidgetPresenceType) | ({
|
|
297
|
+
layers?: string[] | undefined;
|
|
298
|
+
} & import("../..").WidgetQuickSurveyType)>[] | undefined;
|
|
295
299
|
}>[];
|
|
296
300
|
imageSecureUrl?: string | undefined;
|
|
297
301
|
} | undefined;
|
|
@@ -350,7 +354,9 @@ export declare class TVDisplayApi extends JBaseApi {
|
|
|
350
354
|
};
|
|
351
355
|
}) | ({
|
|
352
356
|
layers?: string[] | undefined;
|
|
353
|
-
} & import("../..").WidgetPresenceType)
|
|
357
|
+
} & import("../..").WidgetPresenceType) | ({
|
|
358
|
+
layers?: string[] | undefined;
|
|
359
|
+
} & import("../..").WidgetQuickSurveyType)>[] | undefined;
|
|
354
360
|
}>[] | undefined;
|
|
355
361
|
};
|
|
356
362
|
}) | (Readonly<import("../..").jObjectBase & {
|
|
@@ -439,7 +445,9 @@ export declare class TVDisplayApi extends JBaseApi {
|
|
|
439
445
|
};
|
|
440
446
|
}) | ({
|
|
441
447
|
layers?: string[] | undefined;
|
|
442
|
-
} & import("../..").WidgetPresenceType)
|
|
448
|
+
} & import("../..").WidgetPresenceType) | ({
|
|
449
|
+
layers?: string[] | undefined;
|
|
450
|
+
} & import("../..").WidgetQuickSurveyType)>[] | undefined;
|
|
443
451
|
} & {
|
|
444
452
|
type: string;
|
|
445
453
|
id: number;
|
|
@@ -596,7 +604,9 @@ export declare class TVDisplayApi extends JBaseApi {
|
|
|
596
604
|
};
|
|
597
605
|
}) | ({
|
|
598
606
|
layers?: string[] | undefined;
|
|
599
|
-
} & import("../..").WidgetPresenceType)
|
|
607
|
+
} & import("../..").WidgetPresenceType) | ({
|
|
608
|
+
layers?: string[] | undefined;
|
|
609
|
+
} & import("../..").WidgetQuickSurveyType)>[] | undefined;
|
|
600
610
|
} & {
|
|
601
611
|
type: string;
|
|
602
612
|
id: number;
|
|
@@ -793,7 +803,9 @@ export declare class TVDisplayApi extends JBaseApi {
|
|
|
793
803
|
};
|
|
794
804
|
}) | ({
|
|
795
805
|
layers?: string[] | undefined;
|
|
796
|
-
} & import("../..").WidgetPresenceType)
|
|
806
|
+
} & import("../..").WidgetPresenceType) | ({
|
|
807
|
+
layers?: string[] | undefined;
|
|
808
|
+
} & import("../..").WidgetQuickSurveyType)>[] | undefined;
|
|
797
809
|
}>[];
|
|
798
810
|
imageSecureUrl?: string | undefined;
|
|
799
811
|
} | undefined;
|
|
@@ -852,7 +864,9 @@ export declare class TVDisplayApi extends JBaseApi {
|
|
|
852
864
|
};
|
|
853
865
|
}) | ({
|
|
854
866
|
layers?: string[] | undefined;
|
|
855
|
-
} & import("../..").WidgetPresenceType)
|
|
867
|
+
} & import("../..").WidgetPresenceType) | ({
|
|
868
|
+
layers?: string[] | undefined;
|
|
869
|
+
} & import("../..").WidgetQuickSurveyType)>[] | undefined;
|
|
856
870
|
}>[] | undefined;
|
|
857
871
|
};
|
|
858
872
|
}) | (Readonly<import("../..").jObjectBase & {
|
|
@@ -941,7 +955,9 @@ export declare class TVDisplayApi extends JBaseApi {
|
|
|
941
955
|
};
|
|
942
956
|
}) | ({
|
|
943
957
|
layers?: string[] | undefined;
|
|
944
|
-
} & import("../..").WidgetPresenceType)
|
|
958
|
+
} & import("../..").WidgetPresenceType) | ({
|
|
959
|
+
layers?: string[] | undefined;
|
|
960
|
+
} & import("../..").WidgetQuickSurveyType)>[] | undefined;
|
|
945
961
|
} & {
|
|
946
962
|
type: string;
|
|
947
963
|
id: number;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ApiWrapper, CombinedWidgetContent, CombinedWidgetType,
|
|
1
|
+
import { ApiWrapper, CombinedWidgetContent, CombinedWidgetType, WidgetPresenceResponse, WidgetPresenceResponseUserList, WidgetQuickSurveyResponse, WidgetQuickSurveyResponseUserList, WidgetWrapperGeneric, jUserLittle, WidgetCheckListType } from '../../types';
|
|
2
2
|
import { JBaseApi } from '../base';
|
|
3
3
|
export declare class JWidgetApi extends JBaseApi {
|
|
4
4
|
responseUserList(uri: string, uniqid: string, page: number): Promise<ApiWrapper<jUserLittle[]>>;
|
|
@@ -7,35 +7,75 @@ export declare class JWidgetApi extends JBaseApi {
|
|
|
7
7
|
type: string;
|
|
8
8
|
uniqid: string;
|
|
9
9
|
}): Promise<ApiWrapper<[]>>;
|
|
10
|
-
|
|
11
|
-
id
|
|
12
|
-
type
|
|
13
|
-
|
|
10
|
+
updateWidget<T = CombinedWidgetType>({ id, uniqid, content, title, type, uri, v2, }: {
|
|
11
|
+
id?: number;
|
|
12
|
+
type?: string;
|
|
13
|
+
uniqid: string;
|
|
14
|
+
content: Partial<CombinedWidgetContent>;
|
|
15
|
+
title?: string;
|
|
16
|
+
uri?: string;
|
|
17
|
+
v2?: boolean;
|
|
18
|
+
}): Promise<ApiWrapper<Pick<WidgetWrapperGeneric<T>, 'widget'>[]>>;
|
|
19
|
+
getWidget<T = CombinedWidgetType>({ uri, uniqid, }: {
|
|
20
|
+
uri: string;
|
|
21
|
+
uniqid: string;
|
|
22
|
+
}, signal?: AbortSignal): Promise<ApiWrapper<T>>;
|
|
23
|
+
checkListRespond({ id, type, uri, idUser, uniqid, index, }: {
|
|
24
|
+
id?: number;
|
|
25
|
+
type?: string;
|
|
26
|
+
uri?: string;
|
|
27
|
+
idUser?: number;
|
|
14
28
|
uniqid: string;
|
|
15
29
|
index: number;
|
|
16
30
|
}): Promise<ApiWrapper<[]>>;
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
31
|
+
checkListGetResponse({ uri, uniqid, }: {
|
|
32
|
+
uri: string;
|
|
33
|
+
uniqid: string;
|
|
34
|
+
}): Promise<ApiWrapper<WidgetCheckListType>>;
|
|
35
|
+
presenceRespond({ id, type, uri, value, uniqid, }: {
|
|
36
|
+
id?: number;
|
|
37
|
+
type?: string;
|
|
38
|
+
uri?: string;
|
|
20
39
|
value: number;
|
|
21
40
|
uniqid: string;
|
|
22
41
|
}, signal?: AbortSignal): Promise<ApiWrapper<[]>>;
|
|
23
|
-
presenceCancel({
|
|
24
|
-
|
|
25
|
-
type: string;
|
|
42
|
+
presenceCancel({ uri, uniqid, }: {
|
|
43
|
+
uri: string;
|
|
26
44
|
uniqid: string;
|
|
27
45
|
}, signal?: AbortSignal): Promise<ApiWrapper<boolean>>;
|
|
28
|
-
presenceGetResponse({
|
|
29
|
-
|
|
30
|
-
type: string;
|
|
46
|
+
presenceGetResponse({ uri, uniqid, }: {
|
|
47
|
+
uri: string;
|
|
31
48
|
uniqid: string;
|
|
32
49
|
}, signal?: AbortSignal): Promise<ApiWrapper<WidgetPresenceResponse>>;
|
|
33
|
-
|
|
34
|
-
|
|
50
|
+
quickSurveyGetResponse({ uri, uniqid, }: {
|
|
51
|
+
uri: string;
|
|
35
52
|
uniqid: string;
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
53
|
+
}, signal?: AbortSignal): Promise<ApiWrapper<WidgetQuickSurveyResponse>>;
|
|
54
|
+
quickSurveyAddEnty({ uri, uniqid, label, }: {
|
|
55
|
+
uri: string;
|
|
56
|
+
uniqid: string;
|
|
57
|
+
label: string;
|
|
58
|
+
}, signal?: AbortSignal): Promise<ApiWrapper<boolean>>;
|
|
59
|
+
quickSurveyRespond({ id, type, uri, index, multi, uniqid, }: {
|
|
60
|
+
id?: number;
|
|
61
|
+
type?: string;
|
|
62
|
+
uri?: string;
|
|
63
|
+
index: number;
|
|
64
|
+
multi: number;
|
|
65
|
+
uniqid: string;
|
|
66
|
+
}, signal?: AbortSignal): Promise<ApiWrapper<[]>>;
|
|
67
|
+
quickSurveyGetResponseUserList({ uri, uniqid, index, page, limit, }: {
|
|
68
|
+
uri: string;
|
|
69
|
+
uniqid: string;
|
|
70
|
+
index: number;
|
|
71
|
+
limit?: number;
|
|
72
|
+
page?: number;
|
|
73
|
+
}, signal?: AbortSignal): Promise<ApiWrapper<WidgetQuickSurveyResponseUserList>>;
|
|
74
|
+
presenceGetResponseUserList({ uri, uniqid, index, page, limit, }: {
|
|
75
|
+
uri: string;
|
|
76
|
+
uniqid: string;
|
|
77
|
+
index: number;
|
|
78
|
+
limit?: number;
|
|
79
|
+
page?: number;
|
|
80
|
+
}, signal?: AbortSignal): Promise<ApiWrapper<WidgetPresenceResponseUserList>>;
|
|
41
81
|
}
|
|
@@ -1,9 +1,15 @@
|
|
|
1
|
-
import { ApiWrapper, WidgetCheckListType,
|
|
2
|
-
export declare const widgetResponseUserList: ApiWrapper<jUserLittle[]>;
|
|
1
|
+
import { ApiWrapper, WidgetCheckListType, WidgetPresenceResponse, WidgetPresenceResponseUserList, WidgetQuickSurveyResponse, WidgetQuickSurveyResponseUserList, WidgetQuickSurveyType, WidgetWrapperGeneric } from '../../types';
|
|
3
2
|
export declare const widgetResponseRemoveWidget: ApiWrapper<boolean>;
|
|
4
3
|
export declare const widgetResponseCheckListRespond: ApiWrapper<boolean>;
|
|
4
|
+
export declare const widgetCheckListGetResponseNoResponse: ApiWrapper<WidgetCheckListType>;
|
|
5
|
+
export declare const widgetCheckListGetResponseIndex0: ApiWrapper<WidgetCheckListType>;
|
|
5
6
|
export declare const widgetPresenceCancel: ApiWrapper<boolean>;
|
|
6
7
|
export declare const widgetPresenceRespondAvailable: ApiWrapper<[]>;
|
|
7
8
|
export declare const widgetResponseUpdateWidget: ApiWrapper<Pick<WidgetWrapperGeneric<WidgetCheckListType>, 'widget'>[]>;
|
|
8
9
|
export declare const widgetPresenceGetResponseAvailable: ApiWrapper<WidgetPresenceResponse>;
|
|
9
10
|
export declare const widgetPresenceGetResponseUnavailable: ApiWrapper<WidgetPresenceResponse>;
|
|
11
|
+
export declare const widgetQuickSurveyGetResponse: ApiWrapper<WidgetQuickSurveyResponse>;
|
|
12
|
+
export declare const widgetQuickSurveyGetResponseUserList: ApiWrapper<WidgetQuickSurveyResponseUserList>;
|
|
13
|
+
export declare const widgetPresenceGetResponseUserList: ApiWrapper<WidgetPresenceResponseUserList>;
|
|
14
|
+
export declare const widgetQuickSurveyAddEntryArticleQuickSurvey: ApiWrapper<boolean>;
|
|
15
|
+
export declare const widgetGetWidgetArticleQuickSurvey: ApiWrapper<WidgetQuickSurveyType>;
|