jamespot-user-api 1.0.180 → 1.0.182

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 (130) 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 +2 -2
  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 +17 -17
  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 +10 -8
  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/StudioApplicationStatus.html +1 -1
  39. package/documentation/enums/WidgetsName.html +1 -1
  40. package/documentation/enums/_GroupModerateStatus.html +1 -0
  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/jest.config.ts +1 -2
  58. package/lib/jamespot-user-api.js +1 -1
  59. package/lib/jamespot-user-api.js.map +1 -1
  60. package/lib/jest.config.d.ts +0 -1
  61. package/lib/jest.config.vm.d.ts +0 -1
  62. package/lib/src/apis/admin/utils.d.ts +1 -1
  63. package/lib/src/apis/article/article.d.ts +3 -1
  64. package/lib/src/apis/file/file.d.ts +2 -2
  65. package/lib/src/apis/filebank/filebank.d.ts +2 -2
  66. package/lib/src/apis/group/group.d.ts +218 -9
  67. package/lib/src/apis/group/group.mock.d.ts +6 -6
  68. package/lib/src/apis/jland/jland.d.ts +2 -31
  69. package/lib/src/apis/jland/jland.mock.d.ts +3 -2
  70. package/lib/src/apis/taxonomy/taxonomy.d.ts +2 -2
  71. package/lib/src/apis/tvDisplay/tvDisplay.d.ts +962 -3
  72. package/lib/src/apis/user/user.d.ts +11 -103
  73. package/lib/src/apis/user/user.mock.d.ts +5 -1
  74. package/lib/src/apis/widget/widget.d.ts +2 -2
  75. package/lib/src/apis/widget/widget.mock.d.ts +2 -2
  76. package/lib/src/types/adminUtils.d.ts +10 -10
  77. package/lib/src/types/article.d.ts +3065 -4796
  78. package/lib/src/types/asei.d.ts +231 -413
  79. package/lib/src/types/assetReservation.d.ts +1051 -1768
  80. package/lib/src/types/autocomplete.d.ts +14 -14
  81. package/lib/src/types/businessContact.d.ts +136 -502
  82. package/lib/src/types/comment.d.ts +231 -413
  83. package/lib/src/types/diapazone.d.ts +4 -4
  84. package/lib/src/types/faq.d.ts +1365 -2277
  85. package/lib/src/types/global.d.ts +2 -2
  86. package/lib/src/types/group.d.ts +1881 -127
  87. package/lib/src/types/hook.d.ts +1 -2
  88. package/lib/src/types/index.d.ts +1 -0
  89. package/lib/src/types/jLand.d.ts +1175 -0
  90. package/lib/src/types/mediaLibrary.d.ts +241 -423
  91. package/lib/src/types/meeting.d.ts +723 -1269
  92. package/lib/src/types/model.d.ts +653 -89
  93. package/lib/src/types/object.d.ts +2 -2
  94. package/lib/src/types/pollSurvey.d.ts +856 -1402
  95. package/lib/src/types/quizz.d.ts +723 -1269
  96. package/lib/src/types/search.d.ts +8 -8
  97. package/lib/src/types/share.d.ts +8 -8
  98. package/lib/src/types/socialEvent.d.ts +723 -1269
  99. package/lib/src/types/support.d.ts +723 -1269
  100. package/lib/src/types/surveyDate.d.ts +726 -1308
  101. package/lib/src/types/tvDisplay.d.ts +18544 -49
  102. package/lib/src/types/uri.d.ts +44 -8
  103. package/lib/src/types/wedoc.d.ts +633 -27
  104. package/lib/src/types/widgets/common.d.ts +1 -18
  105. package/lib/src/types/widgets/default.d.ts +538 -1719
  106. package/lib/src/types/widgets/widgetApi.d.ts +0 -1
  107. package/lib/src/types/widgets/widgetArticleAttachment.d.ts +0 -1
  108. package/lib/src/types/widgets/widgetArticleButton.d.ts +0 -1
  109. package/lib/src/types/widgets/widgetArticleGallery.d.ts +0 -1
  110. package/lib/src/types/widgets/widgetArticleImage.d.ts +0 -1
  111. package/lib/src/types/widgets/widgetArticleSlider.d.ts +0 -1
  112. package/lib/src/types/widgets/widgetArticleText.d.ts +0 -1
  113. package/lib/src/types/widgets/widgetArticleTitle.d.ts +0 -1
  114. package/lib/src/types/widgets/widgetCheckList.d.ts +7 -4
  115. package/lib/src/types/widgets/widgetDatasourceTable.d.ts +0 -1
  116. package/lib/src/types/widgets/widgetExcelDatasourceTable.d.ts +2 -26
  117. package/lib/src/types/widgets.d.ts +3573 -4860
  118. package/lib/src/util/Test.d.ts +5 -498
  119. package/lib/src/util/group.d.ts +2 -2
  120. package/lib/src/util/index.d.ts +1 -0
  121. package/lib/src/util/widget.d.ts +83 -0
  122. package/package.json +1 -1
  123. package/phpunitMock/articleCreate-businessContact.json +23 -0
  124. package/phpunitMock/articleCreate-jLandMap.json +49 -0
  125. package/phpunitMock/articleDelete-businessContact.json +12 -0
  126. package/phpunitMock/articleUpdate-businessContact.json +50 -0
  127. package/phpunitMock/objectListJLandJLandList-success.json +14 -0
  128. package/phpunitMock/userSignIn-success.json +31 -0
  129. package/documentation/enums/GroupModerateStatus.html +0 -1
  130. package/documentation/interfaces/Category.html +0 -1
@@ -1,4 +1,4 @@
1
- import { z, ZodSchema } from 'zod';
1
+ import { z } from 'zod';
2
2
  export declare enum WidgetsName {
3
3
  ArticleButton = "widget-article-button",
4
4
  ArticleGallery = "widget-article-gallery",
@@ -39,14 +39,6 @@ export declare const widgetBaseSchema: z.ZodObject<{
39
39
  content?: unknown;
40
40
  }>;
41
41
  }, "strip", z.ZodUnknown, WidgetBaseType, WidgetBaseType>;
42
- export type LegacyAngularJSType = {
43
- css?: Record<string, string> | undefined;
44
- widgets?: WidgetBaseType[] | undefined;
45
- };
46
- export declare const legacyAngularJSTypeSchema: z.ZodObject<{
47
- css: z.ZodOptionalType<z.ZodType<Record<string, string> | undefined, z.ZodTypeDef, Record<string, string> | undefined>>;
48
- widgets: z.ZodOptionalType<z.ZodType<WidgetBaseType[] | undefined, z.ZodTypeDef, WidgetBaseType[] | undefined>>;
49
- }, "strip", z.ZodTypeAny, LegacyAngularJSType, LegacyAngularJSType>;
50
42
  export declare const cssTextAlignTypeSchema: z.ZodEnum<["left", "right", "center", "justify"]>;
51
43
  export type CSSTextAlignType = z.infer<typeof cssTextAlignTypeSchema>;
52
44
  export declare const cssBackgroundPositionSchema: z.ZodEnum<["top", "bottom", "center", "left", "right"]>;
@@ -70,14 +62,5 @@ export declare const widgetVectorSchema: z.ZodObject<{
70
62
  y: number;
71
63
  }>;
72
64
  export type WidgetVector = z.infer<typeof widgetVectorSchema>;
73
- export declare const widgetExtendedTypeSchema: z.ZodObject<{
74
- layers: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
75
- }, "strip", z.ZodTypeAny, {
76
- layers?: string[] | undefined;
77
- }, {
78
- layers?: string[] | undefined;
79
- }>;
80
- export type WidgetExtendedType = z.infer<typeof widgetExtendedTypeSchema>;
81
65
  export declare const articleDisplayModeSchema: z.ZodEnum<["default", "vertical"]>;
82
66
  export type ArticleDisplayMode = z.infer<typeof articleDisplayModeSchema>;
83
- export declare const ensureWidgetType: (widget: unknown, schema: ZodSchema) => boolean;