jamespot-user-api 1.0.185 → 1.0.187

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.
Files changed (84) hide show
  1. package/documentation/assets/search.js +1 -1
  2. package/documentation/classes/AdminLicenseApi.html +14 -14
  3. package/documentation/classes/AdminStoreApi.html +1 -1
  4. package/documentation/classes/AdminUtilsApi.html +1 -1
  5. package/documentation/classes/JApplicationApi.html +8 -8
  6. package/documentation/classes/JArticleApi.html +1 -1
  7. package/documentation/classes/JAssetReservation.html +1 -1
  8. package/documentation/classes/JAudienceApi.html +1 -1
  9. package/documentation/classes/JBaseApi.html +1 -1
  10. package/documentation/classes/JBbbApi.html +1 -1
  11. package/documentation/classes/JBookmarkApi.html +1 -1
  12. package/documentation/classes/JBusinessNetworkingApi.html +1 -1
  13. package/documentation/classes/JCommunityApi.html +1 -1
  14. package/documentation/classes/JDatasourceApi.html +1 -1
  15. package/documentation/classes/JDiapazoneApi.html +1 -1
  16. package/documentation/classes/JFaqApi.html +1 -1
  17. package/documentation/classes/JFileApi.html +5 -5
  18. package/documentation/classes/JFilebankApi.html +1 -1
  19. package/documentation/classes/JGlobalApi.html +1 -1
  20. package/documentation/classes/JGroupApi.html +12 -12
  21. package/documentation/classes/JIAApi.html +1 -1
  22. package/documentation/classes/JLandApi.html +1 -1
  23. package/documentation/classes/JMessengerApi.html +1 -1
  24. package/documentation/classes/JObjectApi.html +1 -1
  25. package/documentation/classes/JSearchApi.html +6 -6
  26. package/documentation/classes/JShareApi.html +1 -1
  27. package/documentation/classes/JSocialActionApi.html +1 -1
  28. package/documentation/classes/JTaxonomyApi.html +2 -2
  29. package/documentation/classes/JUserApi.html +7 -7
  30. package/documentation/classes/JWedocApi.html +1 -1
  31. package/documentation/classes/JWidgetApi.html +1 -1
  32. package/documentation/classes/JamespotUserApi.html +1 -1
  33. package/documentation/classes/Network.html +1 -1
  34. package/documentation/classes/TVDisplayApi.html +1 -1
  35. package/documentation/classes/WindowBrowser.html +1 -1
  36. package/documentation/enums/BookmarkType.html +1 -1
  37. package/documentation/enums/Format.html +1 -1
  38. package/documentation/enums/GroupModerateStatus.html +1 -1
  39. package/documentation/enums/StudioApplicationStatus.html +1 -1
  40. package/documentation/enums/WidgetsName.html +1 -1
  41. package/documentation/index.html +1 -1
  42. package/documentation/interfaces/AccessRightObject.html +1 -1
  43. package/documentation/interfaces/ApiDefaultWrapper.html +1 -1
  44. package/documentation/interfaces/ApiWrapper.html +1 -1
  45. package/documentation/interfaces/BaseMessage.html +1 -1
  46. package/documentation/interfaces/FileBankProps.html +1 -1
  47. package/documentation/interfaces/FolderProps.html +1 -1
  48. package/documentation/interfaces/ListFilterSpec.html +1 -1
  49. package/documentation/interfaces/OF.html +1 -1
  50. package/documentation/interfaces/PagingResults.html +1 -1
  51. package/documentation/interfaces/RootFolderProps.html +1 -1
  52. package/documentation/interfaces/SpotProps.html +1 -1
  53. package/documentation/interfaces/TaxonomyCreate.html +1 -1
  54. package/documentation/interfaces/WidgetType.html +1 -1
  55. package/documentation/interfaces/WindowInterface.html +1 -1
  56. package/documentation/modules.html +11 -11
  57. package/lib/jamespot-user-api.js +1 -1
  58. package/lib/jamespot-user-api.js.map +1 -1
  59. package/lib/src/apis/article/article.mock.d.ts +1 -0
  60. package/lib/src/apis/drive/drive.d.ts +17 -4
  61. package/lib/src/apis/drive/drive.mock.d.ts +5 -1
  62. package/lib/src/apis/tvDisplay/tvDisplay.d.ts +48 -8
  63. package/lib/src/types/article.d.ts +360 -60
  64. package/lib/src/types/asei.d.ts +36 -6
  65. package/lib/src/types/assetReservation.d.ts +156 -26
  66. package/lib/src/types/businessContact.d.ts +24 -4
  67. package/lib/src/types/comment.d.ts +36 -6
  68. package/lib/src/types/drive.d.ts +273 -10
  69. package/lib/src/types/faq.d.ts +192 -32
  70. package/lib/src/types/jLand.d.ts +60 -10
  71. package/lib/src/types/mediaLibrary.d.ts +36 -6
  72. package/lib/src/types/meeting.d.ts +108 -18
  73. package/lib/src/types/pollSurvey.d.ts +108 -18
  74. package/lib/src/types/quizz.d.ts +108 -18
  75. package/lib/src/types/socialEvent.d.ts +108 -18
  76. package/lib/src/types/support.d.ts +108 -18
  77. package/lib/src/types/surveyDate.d.ts +108 -18
  78. package/lib/src/types/tvDisplay.d.ts +900 -150
  79. package/lib/src/types/widgets/default.d.ts +206 -24
  80. package/lib/src/types/widgets/widgetCheckList.d.ts +52 -10
  81. package/lib/src/types/widgets.d.ts +442 -68
  82. package/lib/src/util/widget.d.ts +6 -1
  83. package/package.json +1 -1
  84. package/phpunitMock/articleGet-with-attachments.json +55 -0
@@ -34,3 +34,4 @@ export declare const articleGetComments: ApiWrapper<jCommentList[]>;
34
34
  export declare const articleAddComment: ApiWrapper<jCommentList>;
35
35
  export declare const articleUpdateComment: ApiWrapper<jCommentList>;
36
36
  export declare const articleDeleteComment: ApiDefaultWrapper;
37
+ export declare const articleGetWithAttachments: ApiWrapper<jArticleExtendView>;
@@ -1,16 +1,16 @@
1
1
  import { JBaseApi } from '../base';
2
- import { ApiWrapper, DriveAccount, DriveDocumentParams, MSDocumentEntity, MSGroupEntity, MSSiteEntity, MSTenantEntity } from '../../types';
2
+ import { ApiWrapper, DriveAccount, DriveGetAccount, DriveGetAccountParams, DriveGetDocumentParams, DriveGetDocumentsParams, DriveGetGroupsParams, DriveGetTenantsParams, DriveLogoutParams, DriveSetDefaultAccountParams, FormatList, jFileLittle, MSDocumentEntity, MSGroupEntity, MSSiteEntity, MSTenantEntity } from '../../types';
3
3
  export declare class JDriveApi extends JBaseApi {
4
4
  /**
5
5
  * Microsoft graph only
6
6
  * @returns
7
7
  */
8
- tenants(): Promise<ApiWrapper<MSTenantEntity[]>>;
8
+ tenants(params?: DriveGetTenantsParams): Promise<ApiWrapper<MSTenantEntity[]>>;
9
9
  /**
10
10
  * Microsoft graph only
11
11
  * @returns
12
12
  */
13
- groups(query?: string, filter?: string): Promise<ApiWrapper<MSGroupEntity[]>>;
13
+ groups(params: DriveGetGroupsParams): Promise<ApiWrapper<MSGroupEntity[]>>;
14
14
  /**
15
15
  * Microsoft graph only
16
16
  * @returns
@@ -19,5 +19,18 @@ export declare class JDriveApi extends JBaseApi {
19
19
  listAccount(service: string): Promise<ApiWrapper<DriveAccount[]>>;
20
20
  isAccountLogged(service: string, id: string): Promise<ApiWrapper<boolean>>;
21
21
  checkAccountToken(service: string): Promise<ApiWrapper<boolean>>;
22
- documents(service: string, documentParams: DriveDocumentParams): Promise<ApiWrapper<MSDocumentEntity[]>>;
22
+ documents(params: DriveGetDocumentsParams): Promise<ApiWrapper<MSDocumentEntity[]>>;
23
+ getDocument<T extends jFileLittle = jFileLittle>(params: DriveGetDocumentParams, options?: {
24
+ signal?: AbortSignal;
25
+ format?: FormatList;
26
+ }): Promise<ApiWrapper<T>>;
27
+ logout(params: DriveLogoutParams, options?: {
28
+ signal?: AbortSignal;
29
+ }): Promise<ApiWrapper<boolean>>;
30
+ getAccount(params: DriveGetAccountParams, options?: {
31
+ signal?: AbortSignal;
32
+ }): Promise<ApiWrapper<DriveGetAccount>>;
33
+ setDefaultAccount(params: DriveSetDefaultAccountParams, options?: {
34
+ signal?: AbortSignal;
35
+ }): Promise<ApiWrapper<boolean>>;
23
36
  }
@@ -1,4 +1,8 @@
1
- import { ApiWrapper, BaseMessages, DriveItemType, MSGroupEntity, MSTenantEntity } from '../../types';
1
+ import { ApiWrapper, BaseMessages, DriveGetAccount, DriveItemType, jFileLittle, MSGroupEntity, MSTenantEntity } from '../../types';
2
2
  export declare const driveGetTenants: ApiWrapper<MSTenantEntity[], BaseMessages>;
3
3
  export declare const driveGetGroups: ApiWrapper<MSGroupEntity[], BaseMessages>;
4
4
  export declare const driveGetDocuments: ApiWrapper<DriveItemType[], BaseMessages>;
5
+ export declare const driveGetDocument: ApiWrapper<jFileLittle>;
6
+ export declare const driveLogout: ApiWrapper<boolean>;
7
+ export declare const driveGetAccount: ApiWrapper<DriveGetAccount>;
8
+ export declare const driveSetDefaultAccount: ApiWrapper<boolean>;
@@ -60,7 +60,12 @@ export declare class TVDisplayApi extends JBaseApi {
60
60
  layers?: string[] | undefined;
61
61
  } & import("../..").WidgetArticleSliderType) | ({
62
62
  layers?: string[] | undefined;
63
- } & import("../..").WidgetType<import("../..").WidgetCheckListContent>) | ({
63
+ } & import("../..").WidgetType<{
64
+ widgets?: import("../..").WidgetBaseType[] | undefined;
65
+ arr?: import("../..").WidgetCheckListContentArr[] | undefined;
66
+ css?: Record<string, string> | undefined;
67
+ edit?: boolean | undefined;
68
+ }>) | ({
64
69
  layers?: string[] | undefined;
65
70
  } & import("../..").WidgetDatasourceTableType) | ({
66
71
  layers?: string[] | undefined;
@@ -252,7 +257,12 @@ export declare class TVDisplayApi extends JBaseApi {
252
257
  layers?: string[] | undefined;
253
258
  } & import("../..").WidgetArticleSliderType) | ({
254
259
  layers?: string[] | undefined;
255
- } & import("../..").WidgetType<import("../..").WidgetCheckListContent>) | ({
260
+ } & import("../..").WidgetType<{
261
+ widgets?: import("../..").WidgetBaseType[] | undefined;
262
+ arr?: import("../..").WidgetCheckListContentArr[] | undefined;
263
+ css?: Record<string, string> | undefined;
264
+ edit?: boolean | undefined;
265
+ }>) | ({
256
266
  layers?: string[] | undefined;
257
267
  } & import("../..").WidgetDatasourceTableType) | ({
258
268
  layers?: string[] | undefined;
@@ -306,7 +316,12 @@ export declare class TVDisplayApi extends JBaseApi {
306
316
  layers?: string[] | undefined;
307
317
  } & import("../..").WidgetArticleSliderType) | ({
308
318
  layers?: string[] | undefined;
309
- } & import("../..").WidgetType<import("../..").WidgetCheckListContent>) | ({
319
+ } & import("../..").WidgetType<{
320
+ widgets?: import("../..").WidgetBaseType[] | undefined;
321
+ arr?: import("../..").WidgetCheckListContentArr[] | undefined;
322
+ css?: Record<string, string> | undefined;
323
+ edit?: boolean | undefined;
324
+ }>) | ({
310
325
  layers?: string[] | undefined;
311
326
  } & import("../..").WidgetDatasourceTableType) | ({
312
327
  layers?: string[] | undefined;
@@ -390,7 +405,12 @@ export declare class TVDisplayApi extends JBaseApi {
390
405
  layers?: string[] | undefined;
391
406
  } & import("../..").WidgetArticleSliderType) | ({
392
407
  layers?: string[] | undefined;
393
- } & import("../..").WidgetType<import("../..").WidgetCheckListContent>) | ({
408
+ } & import("../..").WidgetType<{
409
+ widgets?: import("../..").WidgetBaseType[] | undefined;
410
+ arr?: import("../..").WidgetCheckListContentArr[] | undefined;
411
+ css?: Record<string, string> | undefined;
412
+ edit?: boolean | undefined;
413
+ }>) | ({
394
414
  layers?: string[] | undefined;
395
415
  } & import("../..").WidgetDatasourceTableType) | ({
396
416
  layers?: string[] | undefined;
@@ -542,7 +562,12 @@ export declare class TVDisplayApi extends JBaseApi {
542
562
  layers?: string[] | undefined;
543
563
  } & import("../..").WidgetArticleSliderType) | ({
544
564
  layers?: string[] | undefined;
545
- } & import("../..").WidgetType<import("../..").WidgetCheckListContent>) | ({
565
+ } & import("../..").WidgetType<{
566
+ widgets?: import("../..").WidgetBaseType[] | undefined;
567
+ arr?: import("../..").WidgetCheckListContentArr[] | undefined;
568
+ css?: Record<string, string> | undefined;
569
+ edit?: boolean | undefined;
570
+ }>) | ({
546
571
  layers?: string[] | undefined;
547
572
  } & import("../..").WidgetDatasourceTableType) | ({
548
573
  layers?: string[] | undefined;
@@ -734,7 +759,12 @@ export declare class TVDisplayApi extends JBaseApi {
734
759
  layers?: string[] | undefined;
735
760
  } & import("../..").WidgetArticleSliderType) | ({
736
761
  layers?: string[] | undefined;
737
- } & import("../..").WidgetType<import("../..").WidgetCheckListContent>) | ({
762
+ } & import("../..").WidgetType<{
763
+ widgets?: import("../..").WidgetBaseType[] | undefined;
764
+ arr?: import("../..").WidgetCheckListContentArr[] | undefined;
765
+ css?: Record<string, string> | undefined;
766
+ edit?: boolean | undefined;
767
+ }>) | ({
738
768
  layers?: string[] | undefined;
739
769
  } & import("../..").WidgetDatasourceTableType) | ({
740
770
  layers?: string[] | undefined;
@@ -788,7 +818,12 @@ export declare class TVDisplayApi extends JBaseApi {
788
818
  layers?: string[] | undefined;
789
819
  } & import("../..").WidgetArticleSliderType) | ({
790
820
  layers?: string[] | undefined;
791
- } & import("../..").WidgetType<import("../..").WidgetCheckListContent>) | ({
821
+ } & import("../..").WidgetType<{
822
+ widgets?: import("../..").WidgetBaseType[] | undefined;
823
+ arr?: import("../..").WidgetCheckListContentArr[] | undefined;
824
+ css?: Record<string, string> | undefined;
825
+ edit?: boolean | undefined;
826
+ }>) | ({
792
827
  layers?: string[] | undefined;
793
828
  } & import("../..").WidgetDatasourceTableType) | ({
794
829
  layers?: string[] | undefined;
@@ -872,7 +907,12 @@ export declare class TVDisplayApi extends JBaseApi {
872
907
  layers?: string[] | undefined;
873
908
  } & import("../..").WidgetArticleSliderType) | ({
874
909
  layers?: string[] | undefined;
875
- } & import("../..").WidgetType<import("../..").WidgetCheckListContent>) | ({
910
+ } & import("../..").WidgetType<{
911
+ widgets?: import("../..").WidgetBaseType[] | undefined;
912
+ arr?: import("../..").WidgetCheckListContentArr[] | undefined;
913
+ css?: Record<string, string> | undefined;
914
+ edit?: boolean | undefined;
915
+ }>) | ({
876
916
  layers?: string[] | undefined;
877
917
  } & import("../..").WidgetDatasourceTableType) | ({
878
918
  layers?: string[] | undefined;