jamespot-user-api 1.0.182 → 1.0.184
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 +15 -15
- 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 -0
- 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/admin/license.d.ts +2 -2
- package/lib/src/apis/admin/licenses.mock.d.ts +6 -0
- package/lib/src/apis/admin/utils.mock.d.ts +2 -0
- package/lib/src/apis/admin/utils.test.d.ts +1 -0
- package/lib/src/apis/tvDisplay/tvDisplay.d.ts +32 -32
- package/lib/src/apis/widget/widget.d.ts +20 -3
- package/lib/src/apis/widget/widget.mock.d.ts +5 -1
- package/lib/src/types/article.d.ts +216 -216
- package/lib/src/types/asei.d.ts +22 -22
- package/lib/src/types/assetReservation.d.ts +96 -96
- package/lib/src/types/businessContact.d.ts +14 -14
- package/lib/src/types/comment.d.ts +22 -22
- package/lib/src/types/faq.d.ts +118 -118
- package/lib/src/types/group.d.ts +5 -6
- package/lib/src/types/hook.d.ts +6 -6
- package/lib/src/types/index.d.ts +1 -1
- package/lib/src/types/jLand.d.ts +36 -36
- package/lib/src/types/mediaLibrary.d.ts +22 -22
- package/lib/src/types/meeting.d.ts +66 -66
- package/lib/src/types/pollSurvey.d.ts +66 -66
- package/lib/src/types/quizz.d.ts +66 -66
- package/lib/src/types/realtime.d.ts +15 -3
- package/lib/src/types/socialEvent.d.ts +66 -66
- package/lib/src/types/support.d.ts +66 -66
- package/lib/src/types/surveyDate.d.ts +66 -66
- package/lib/src/types/tvDisplay.d.ts +560 -560
- package/lib/src/types/widgets/common.d.ts +5 -3
- package/lib/src/types/widgets/default.d.ts +149 -99
- package/lib/src/types/widgets/ensure.d.ts +58 -0
- package/lib/src/types/widgets/ensure.test.d.ts +1 -0
- package/lib/src/types/widgets/widgetDatasourceTable.d.ts +8 -8
- package/lib/src/types/widgets/widgetExcelDatasourceTable.d.ts +8 -8
- package/lib/src/types/widgets/widgetPresence.d.ts +132 -0
- package/lib/src/types/widgets.d.ts +944 -288
- package/lib/src/util/group.d.ts +112 -0
- package/lib/src/util/widget.d.ts +6 -9
- package/package.json +6 -2
- package/phpunitMock/adminApps-success.json +270 -0
- package/phpunitMock/articleGet-with-widgets.json +2 -1
- package/phpunitMock/licenseManagerAssignPossiblesLicenses-success.json +7 -0
- package/phpunitMock/licenseManagerCountObjectsWithoutLicense-success.json +7 -0
- package/phpunitMock/licenseManagerGetAssignmentMode-success.json +7 -0
- package/phpunitMock/licenseManagerOptimizeLicenses-success.json +7 -0
- package/phpunitMock/licenseManagerSetAssignmentMode-success.json +7 -0
- package/phpunitMock/licenseManagerUserStatistics-success.json +11 -0
- package/phpunitMock/widgetPresenceCancel-default.json +1 -0
- package/phpunitMock/widgetPresenceGetResponse-available.json +25 -0
- package/phpunitMock/widgetPresenceGetResponse-unavailable.json +25 -0
- package/phpunitMock/widgetPresenceRespond-available.json +1 -0
- package/documentation/enums/_GroupModerateStatus.html +0 -1
- package/lib/src/types/widgets/widgetApi.d.ts +0 -24
- /package/lib/src/types/{adminLicence.d.ts → adminLicense.d.ts} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { JBaseApi } from '../base';
|
|
2
|
-
import { ObjectWithoutLicenseFilter } from '../../types/
|
|
2
|
+
import { ObjectWithoutLicenseFilter } from '../../types/adminLicense';
|
|
3
3
|
import { jUserLittle } from '../../types/user';
|
|
4
4
|
import { GetLicenseKindUsersParams } from '../../types/license';
|
|
5
5
|
import { FormatList, PagingResults } from '../../types/utils';
|
|
@@ -113,7 +113,7 @@ export declare class AdminLicenseApi extends JBaseApi {
|
|
|
113
113
|
contentId: number;
|
|
114
114
|
contentType: string;
|
|
115
115
|
}[], import("../../types/utils").BaseMessages>>;
|
|
116
|
-
|
|
116
|
+
getLicenseUsersByKind<T extends jUserLittle = jUserLittle>({ ...params }: GetLicenseKindUsersParams, format: FormatList, signal?: AbortSignal): Promise<import("../../types/utils").ApiWrapper<PagingResults<import("zod").objectUtil.addQuestionMarks<import("zod").baseObjectOutputType<{
|
|
117
117
|
license: import("zod").ZodUnion<[import("zod").ZodLiteral<"1">, import("zod").ZodLiteral<"0">]>;
|
|
118
118
|
user: import("zod").ZodType<T, import("zod").ZodTypeDef, T>;
|
|
119
119
|
}>, any> extends infer T_1 ? { [k in keyof T_1]: import("zod").objectUtil.addQuestionMarks<import("zod").baseObjectOutputType<{
|
|
@@ -10,3 +10,9 @@ export declare const licenseManagerAssignHookLicense: ApiWrapper<boolean>;
|
|
|
10
10
|
export declare const licenseManagerUnAssignHookLicense: ApiWrapper<boolean>;
|
|
11
11
|
export declare const licenseManagerUnAssignUnusedLicenses: ApiWrapper<boolean>;
|
|
12
12
|
export declare const licenseManagerGetHookUsers: ApiWrapper<PagingResults<UserLicense<jUserList>>>;
|
|
13
|
+
export declare const licenseManagerGetAssignmentMode: ApiWrapper<string>;
|
|
14
|
+
export declare const licenseGetLicenseUserStatistics: ApiWrapper<AdminLicenseStats>;
|
|
15
|
+
export declare const licenseManagerSetAssignmentMode: ApiWrapper<boolean>;
|
|
16
|
+
export declare const licenseManagerAssignPossiblesLicenses: ApiWrapper<boolean>;
|
|
17
|
+
export declare const licenseManagerOptimizeLicenses: ApiWrapper<boolean>;
|
|
18
|
+
export declare const licenseManagerGetObjectsWithoutLicense: ApiWrapper<number>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -46,8 +46,6 @@ export declare class TVDisplayApi extends JBaseApi {
|
|
|
46
46
|
} | undefined;
|
|
47
47
|
articleWidgets?: import("../..").WidgetWrapperGeneric<({
|
|
48
48
|
layers?: string[] | undefined;
|
|
49
|
-
} & import("../..").WidgetApiType) | ({
|
|
50
|
-
layers?: string[] | undefined;
|
|
51
49
|
} & import("../..").WidgetArticleAttachmentType) | ({
|
|
52
50
|
layers?: string[] | undefined;
|
|
53
51
|
} & import("../..").WidgetArticleButtonType) | ({
|
|
@@ -71,7 +69,7 @@ export declare class TVDisplayApi extends JBaseApi {
|
|
|
71
69
|
uniqid: string;
|
|
72
70
|
content: {
|
|
73
71
|
uri?: string | undefined;
|
|
74
|
-
limit?: number | undefined;
|
|
72
|
+
limit?: number | boolean | undefined;
|
|
75
73
|
tableColumnsData?: {
|
|
76
74
|
name?: string | undefined;
|
|
77
75
|
label?: string | undefined;
|
|
@@ -89,7 +87,9 @@ export declare class TVDisplayApi extends JBaseApi {
|
|
|
89
87
|
tableSizedColumns?: boolean | undefined;
|
|
90
88
|
tableSizedColumnsWidth?: number | undefined;
|
|
91
89
|
};
|
|
92
|
-
})
|
|
90
|
+
}) | ({
|
|
91
|
+
layers?: string[] | undefined;
|
|
92
|
+
} & import("../..").WidgetPresenceType)>[] | undefined;
|
|
93
93
|
} & {
|
|
94
94
|
type: string;
|
|
95
95
|
id: number;
|
|
@@ -238,8 +238,6 @@ export declare class TVDisplayApi extends JBaseApi {
|
|
|
238
238
|
}> | undefined;
|
|
239
239
|
_widgets?: import("../..").WidgetWrapperGeneric<({
|
|
240
240
|
layers?: string[] | undefined;
|
|
241
|
-
} & import("../..").WidgetApiType) | ({
|
|
242
|
-
layers?: string[] | undefined;
|
|
243
241
|
} & import("../..").WidgetArticleAttachmentType) | ({
|
|
244
242
|
layers?: string[] | undefined;
|
|
245
243
|
} & import("../..").WidgetArticleButtonType) | ({
|
|
@@ -263,7 +261,7 @@ export declare class TVDisplayApi extends JBaseApi {
|
|
|
263
261
|
uniqid: string;
|
|
264
262
|
content: {
|
|
265
263
|
uri?: string | undefined;
|
|
266
|
-
limit?: number | undefined;
|
|
264
|
+
limit?: number | boolean | undefined;
|
|
267
265
|
tableColumnsData?: {
|
|
268
266
|
name?: string | undefined;
|
|
269
267
|
label?: string | undefined;
|
|
@@ -281,7 +279,9 @@ export declare class TVDisplayApi extends JBaseApi {
|
|
|
281
279
|
tableSizedColumns?: boolean | undefined;
|
|
282
280
|
tableSizedColumnsWidth?: number | undefined;
|
|
283
281
|
};
|
|
284
|
-
})
|
|
282
|
+
}) | ({
|
|
283
|
+
layers?: string[] | undefined;
|
|
284
|
+
} & import("../..").WidgetPresenceType)>[] | undefined;
|
|
285
285
|
}>[];
|
|
286
286
|
imageSecureUrl?: string | undefined;
|
|
287
287
|
} | undefined;
|
|
@@ -292,8 +292,6 @@ export declare class TVDisplayApi extends JBaseApi {
|
|
|
292
292
|
} | undefined;
|
|
293
293
|
articleWidgets?: import("../..").WidgetWrapperGeneric<({
|
|
294
294
|
layers?: string[] | undefined;
|
|
295
|
-
} & import("../..").WidgetApiType) | ({
|
|
296
|
-
layers?: string[] | undefined;
|
|
297
295
|
} & import("../..").WidgetArticleAttachmentType) | ({
|
|
298
296
|
layers?: string[] | undefined;
|
|
299
297
|
} & import("../..").WidgetArticleButtonType) | ({
|
|
@@ -317,7 +315,7 @@ export declare class TVDisplayApi extends JBaseApi {
|
|
|
317
315
|
uniqid: string;
|
|
318
316
|
content: {
|
|
319
317
|
uri?: string | undefined;
|
|
320
|
-
limit?: number | undefined;
|
|
318
|
+
limit?: number | boolean | undefined;
|
|
321
319
|
tableColumnsData?: {
|
|
322
320
|
name?: string | undefined;
|
|
323
321
|
label?: string | undefined;
|
|
@@ -335,7 +333,9 @@ export declare class TVDisplayApi extends JBaseApi {
|
|
|
335
333
|
tableSizedColumns?: boolean | undefined;
|
|
336
334
|
tableSizedColumnsWidth?: number | undefined;
|
|
337
335
|
};
|
|
338
|
-
})
|
|
336
|
+
}) | ({
|
|
337
|
+
layers?: string[] | undefined;
|
|
338
|
+
} & import("../..").WidgetPresenceType)>[] | undefined;
|
|
339
339
|
}>[] | undefined;
|
|
340
340
|
};
|
|
341
341
|
}) | (Readonly<import("../..").jObjectBase & {
|
|
@@ -376,8 +376,6 @@ export declare class TVDisplayApi extends JBaseApi {
|
|
|
376
376
|
} | undefined;
|
|
377
377
|
articleWidgets?: import("../..").WidgetWrapperGeneric<({
|
|
378
378
|
layers?: string[] | undefined;
|
|
379
|
-
} & import("../..").WidgetApiType) | ({
|
|
380
|
-
layers?: string[] | undefined;
|
|
381
379
|
} & import("../..").WidgetArticleAttachmentType) | ({
|
|
382
380
|
layers?: string[] | undefined;
|
|
383
381
|
} & import("../..").WidgetArticleButtonType) | ({
|
|
@@ -401,7 +399,7 @@ export declare class TVDisplayApi extends JBaseApi {
|
|
|
401
399
|
uniqid: string;
|
|
402
400
|
content: {
|
|
403
401
|
uri?: string | undefined;
|
|
404
|
-
limit?: number | undefined;
|
|
402
|
+
limit?: number | boolean | undefined;
|
|
405
403
|
tableColumnsData?: {
|
|
406
404
|
name?: string | undefined;
|
|
407
405
|
label?: string | undefined;
|
|
@@ -419,7 +417,9 @@ export declare class TVDisplayApi extends JBaseApi {
|
|
|
419
417
|
tableSizedColumns?: boolean | undefined;
|
|
420
418
|
tableSizedColumnsWidth?: number | undefined;
|
|
421
419
|
};
|
|
422
|
-
})
|
|
420
|
+
}) | ({
|
|
421
|
+
layers?: string[] | undefined;
|
|
422
|
+
} & import("../..").WidgetPresenceType)>[] | undefined;
|
|
423
423
|
} & {
|
|
424
424
|
type: string;
|
|
425
425
|
id: number;
|
|
@@ -528,8 +528,6 @@ export declare class TVDisplayApi extends JBaseApi {
|
|
|
528
528
|
} | undefined;
|
|
529
529
|
articleWidgets?: import("../..").WidgetWrapperGeneric<({
|
|
530
530
|
layers?: string[] | undefined;
|
|
531
|
-
} & import("../..").WidgetApiType) | ({
|
|
532
|
-
layers?: string[] | undefined;
|
|
533
531
|
} & import("../..").WidgetArticleAttachmentType) | ({
|
|
534
532
|
layers?: string[] | undefined;
|
|
535
533
|
} & import("../..").WidgetArticleButtonType) | ({
|
|
@@ -553,7 +551,7 @@ export declare class TVDisplayApi extends JBaseApi {
|
|
|
553
551
|
uniqid: string;
|
|
554
552
|
content: {
|
|
555
553
|
uri?: string | undefined;
|
|
556
|
-
limit?: number | undefined;
|
|
554
|
+
limit?: number | boolean | undefined;
|
|
557
555
|
tableColumnsData?: {
|
|
558
556
|
name?: string | undefined;
|
|
559
557
|
label?: string | undefined;
|
|
@@ -571,7 +569,9 @@ export declare class TVDisplayApi extends JBaseApi {
|
|
|
571
569
|
tableSizedColumns?: boolean | undefined;
|
|
572
570
|
tableSizedColumnsWidth?: number | undefined;
|
|
573
571
|
};
|
|
574
|
-
})
|
|
572
|
+
}) | ({
|
|
573
|
+
layers?: string[] | undefined;
|
|
574
|
+
} & import("../..").WidgetPresenceType)>[] | undefined;
|
|
575
575
|
} & {
|
|
576
576
|
type: string;
|
|
577
577
|
id: number;
|
|
@@ -720,8 +720,6 @@ export declare class TVDisplayApi extends JBaseApi {
|
|
|
720
720
|
}> | undefined;
|
|
721
721
|
_widgets?: import("../..").WidgetWrapperGeneric<({
|
|
722
722
|
layers?: string[] | undefined;
|
|
723
|
-
} & import("../..").WidgetApiType) | ({
|
|
724
|
-
layers?: string[] | undefined;
|
|
725
723
|
} & import("../..").WidgetArticleAttachmentType) | ({
|
|
726
724
|
layers?: string[] | undefined;
|
|
727
725
|
} & import("../..").WidgetArticleButtonType) | ({
|
|
@@ -745,7 +743,7 @@ export declare class TVDisplayApi extends JBaseApi {
|
|
|
745
743
|
uniqid: string;
|
|
746
744
|
content: {
|
|
747
745
|
uri?: string | undefined;
|
|
748
|
-
limit?: number | undefined;
|
|
746
|
+
limit?: number | boolean | undefined;
|
|
749
747
|
tableColumnsData?: {
|
|
750
748
|
name?: string | undefined;
|
|
751
749
|
label?: string | undefined;
|
|
@@ -763,7 +761,9 @@ export declare class TVDisplayApi extends JBaseApi {
|
|
|
763
761
|
tableSizedColumns?: boolean | undefined;
|
|
764
762
|
tableSizedColumnsWidth?: number | undefined;
|
|
765
763
|
};
|
|
766
|
-
})
|
|
764
|
+
}) | ({
|
|
765
|
+
layers?: string[] | undefined;
|
|
766
|
+
} & import("../..").WidgetPresenceType)>[] | undefined;
|
|
767
767
|
}>[];
|
|
768
768
|
imageSecureUrl?: string | undefined;
|
|
769
769
|
} | undefined;
|
|
@@ -774,8 +774,6 @@ export declare class TVDisplayApi extends JBaseApi {
|
|
|
774
774
|
} | undefined;
|
|
775
775
|
articleWidgets?: import("../..").WidgetWrapperGeneric<({
|
|
776
776
|
layers?: string[] | undefined;
|
|
777
|
-
} & import("../..").WidgetApiType) | ({
|
|
778
|
-
layers?: string[] | undefined;
|
|
779
777
|
} & import("../..").WidgetArticleAttachmentType) | ({
|
|
780
778
|
layers?: string[] | undefined;
|
|
781
779
|
} & import("../..").WidgetArticleButtonType) | ({
|
|
@@ -799,7 +797,7 @@ export declare class TVDisplayApi extends JBaseApi {
|
|
|
799
797
|
uniqid: string;
|
|
800
798
|
content: {
|
|
801
799
|
uri?: string | undefined;
|
|
802
|
-
limit?: number | undefined;
|
|
800
|
+
limit?: number | boolean | undefined;
|
|
803
801
|
tableColumnsData?: {
|
|
804
802
|
name?: string | undefined;
|
|
805
803
|
label?: string | undefined;
|
|
@@ -817,7 +815,9 @@ export declare class TVDisplayApi extends JBaseApi {
|
|
|
817
815
|
tableSizedColumns?: boolean | undefined;
|
|
818
816
|
tableSizedColumnsWidth?: number | undefined;
|
|
819
817
|
};
|
|
820
|
-
})
|
|
818
|
+
}) | ({
|
|
819
|
+
layers?: string[] | undefined;
|
|
820
|
+
} & import("../..").WidgetPresenceType)>[] | undefined;
|
|
821
821
|
}>[] | undefined;
|
|
822
822
|
};
|
|
823
823
|
}) | (Readonly<import("../..").jObjectBase & {
|
|
@@ -858,8 +858,6 @@ export declare class TVDisplayApi extends JBaseApi {
|
|
|
858
858
|
} | undefined;
|
|
859
859
|
articleWidgets?: import("../..").WidgetWrapperGeneric<({
|
|
860
860
|
layers?: string[] | undefined;
|
|
861
|
-
} & import("../..").WidgetApiType) | ({
|
|
862
|
-
layers?: string[] | undefined;
|
|
863
861
|
} & import("../..").WidgetArticleAttachmentType) | ({
|
|
864
862
|
layers?: string[] | undefined;
|
|
865
863
|
} & import("../..").WidgetArticleButtonType) | ({
|
|
@@ -883,7 +881,7 @@ export declare class TVDisplayApi extends JBaseApi {
|
|
|
883
881
|
uniqid: string;
|
|
884
882
|
content: {
|
|
885
883
|
uri?: string | undefined;
|
|
886
|
-
limit?: number | undefined;
|
|
884
|
+
limit?: number | boolean | undefined;
|
|
887
885
|
tableColumnsData?: {
|
|
888
886
|
name?: string | undefined;
|
|
889
887
|
label?: string | undefined;
|
|
@@ -901,7 +899,9 @@ export declare class TVDisplayApi extends JBaseApi {
|
|
|
901
899
|
tableSizedColumns?: boolean | undefined;
|
|
902
900
|
tableSizedColumnsWidth?: number | undefined;
|
|
903
901
|
};
|
|
904
|
-
})
|
|
902
|
+
}) | ({
|
|
903
|
+
layers?: string[] | undefined;
|
|
904
|
+
} & import("../..").WidgetPresenceType)>[] | undefined;
|
|
905
905
|
} & {
|
|
906
906
|
type: string;
|
|
907
907
|
id: number;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ApiWrapper, CombinedWidgetContent, CombinedWidgetType, WidgetWrapperGeneric, jUserLittle } from '../../types';
|
|
1
|
+
import { ApiWrapper, CombinedWidgetContent, CombinedWidgetType, WidgetWrapperGeneric, WidgetPresenceResponse, jUserLittle } 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[]>>;
|
|
@@ -14,11 +14,28 @@ export declare class JWidgetApi extends JBaseApi {
|
|
|
14
14
|
uniqid: string;
|
|
15
15
|
index: number;
|
|
16
16
|
}): Promise<ApiWrapper<[]>>;
|
|
17
|
-
|
|
17
|
+
presenceRespond({ id, type, value, uniqid, }: {
|
|
18
|
+
id: number;
|
|
19
|
+
type: string;
|
|
20
|
+
value: number;
|
|
21
|
+
uniqid: string;
|
|
22
|
+
}, signal?: AbortSignal): Promise<ApiWrapper<[]>>;
|
|
23
|
+
presenceCancel({ id, type, uniqid, }: {
|
|
24
|
+
id: number;
|
|
25
|
+
type: string;
|
|
26
|
+
uniqid: string;
|
|
27
|
+
}, signal?: AbortSignal): Promise<ApiWrapper<boolean>>;
|
|
28
|
+
presenceGetResponse({ id, type, uniqid, }: {
|
|
29
|
+
id: number;
|
|
30
|
+
type: string;
|
|
31
|
+
uniqid: string;
|
|
32
|
+
}, signal?: AbortSignal): Promise<ApiWrapper<WidgetPresenceResponse>>;
|
|
33
|
+
updateWidget<T = CombinedWidgetType>({ id, uniqid, content, title, type, v2, }: {
|
|
18
34
|
id: number;
|
|
19
35
|
uniqid: string;
|
|
20
36
|
content: Partial<CombinedWidgetContent>;
|
|
21
|
-
title
|
|
37
|
+
title?: string;
|
|
22
38
|
type: string;
|
|
39
|
+
v2?: boolean;
|
|
23
40
|
}): Promise<ApiWrapper<Pick<WidgetWrapperGeneric<T>, 'widget'>[]>>;
|
|
24
41
|
}
|
|
@@ -1,5 +1,9 @@
|
|
|
1
|
-
import { ApiWrapper, WidgetCheckListType, jUserLittle,
|
|
1
|
+
import { ApiWrapper, WidgetCheckListType, WidgetWrapperGeneric, jUserLittle, WidgetPresenceResponse } from '../../types';
|
|
2
2
|
export declare const widgetResponseUserList: ApiWrapper<jUserLittle[]>;
|
|
3
3
|
export declare const widgetResponseRemoveWidget: ApiWrapper<boolean>;
|
|
4
4
|
export declare const widgetResponseCheckListRespond: ApiWrapper<boolean>;
|
|
5
|
+
export declare const widgetPresenceCancel: ApiWrapper<boolean>;
|
|
6
|
+
export declare const widgetPresenceRespondAvailable: ApiWrapper<[]>;
|
|
5
7
|
export declare const widgetResponseUpdateWidget: ApiWrapper<Pick<WidgetWrapperGeneric<WidgetCheckListType>, 'widget'>[]>;
|
|
8
|
+
export declare const widgetPresenceGetResponseAvailable: ApiWrapper<WidgetPresenceResponse>;
|
|
9
|
+
export declare const widgetPresenceGetResponseUnavailable: ApiWrapper<WidgetPresenceResponse>;
|