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.
Files changed (111) hide show
  1. package/documentation/assets/search.js +1 -1
  2. package/documentation/classes/AdminLicenseApi.html +15 -15
  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 -0
  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/jest.config.ts +1 -1
  58. package/lib/jamespot-user-api.js +1 -1
  59. package/lib/jamespot-user-api.js.map +1 -1
  60. package/lib/src/apis/admin/license.d.ts +2 -2
  61. package/lib/src/apis/admin/licenses.mock.d.ts +6 -0
  62. package/lib/src/apis/admin/utils.mock.d.ts +2 -0
  63. package/lib/src/apis/admin/utils.test.d.ts +1 -0
  64. package/lib/src/apis/tvDisplay/tvDisplay.d.ts +32 -32
  65. package/lib/src/apis/widget/widget.d.ts +20 -3
  66. package/lib/src/apis/widget/widget.mock.d.ts +5 -1
  67. package/lib/src/types/article.d.ts +216 -216
  68. package/lib/src/types/asei.d.ts +22 -22
  69. package/lib/src/types/assetReservation.d.ts +96 -96
  70. package/lib/src/types/businessContact.d.ts +14 -14
  71. package/lib/src/types/comment.d.ts +22 -22
  72. package/lib/src/types/faq.d.ts +118 -118
  73. package/lib/src/types/group.d.ts +5 -6
  74. package/lib/src/types/hook.d.ts +6 -6
  75. package/lib/src/types/index.d.ts +1 -1
  76. package/lib/src/types/jLand.d.ts +36 -36
  77. package/lib/src/types/mediaLibrary.d.ts +22 -22
  78. package/lib/src/types/meeting.d.ts +66 -66
  79. package/lib/src/types/pollSurvey.d.ts +66 -66
  80. package/lib/src/types/quizz.d.ts +66 -66
  81. package/lib/src/types/realtime.d.ts +15 -3
  82. package/lib/src/types/socialEvent.d.ts +66 -66
  83. package/lib/src/types/support.d.ts +66 -66
  84. package/lib/src/types/surveyDate.d.ts +66 -66
  85. package/lib/src/types/tvDisplay.d.ts +560 -560
  86. package/lib/src/types/widgets/common.d.ts +5 -3
  87. package/lib/src/types/widgets/default.d.ts +149 -99
  88. package/lib/src/types/widgets/ensure.d.ts +58 -0
  89. package/lib/src/types/widgets/ensure.test.d.ts +1 -0
  90. package/lib/src/types/widgets/widgetDatasourceTable.d.ts +8 -8
  91. package/lib/src/types/widgets/widgetExcelDatasourceTable.d.ts +8 -8
  92. package/lib/src/types/widgets/widgetPresence.d.ts +132 -0
  93. package/lib/src/types/widgets.d.ts +944 -288
  94. package/lib/src/util/group.d.ts +112 -0
  95. package/lib/src/util/widget.d.ts +6 -9
  96. package/package.json +6 -2
  97. package/phpunitMock/adminApps-success.json +270 -0
  98. package/phpunitMock/articleGet-with-widgets.json +2 -1
  99. package/phpunitMock/licenseManagerAssignPossiblesLicenses-success.json +7 -0
  100. package/phpunitMock/licenseManagerCountObjectsWithoutLicense-success.json +7 -0
  101. package/phpunitMock/licenseManagerGetAssignmentMode-success.json +7 -0
  102. package/phpunitMock/licenseManagerOptimizeLicenses-success.json +7 -0
  103. package/phpunitMock/licenseManagerSetAssignmentMode-success.json +7 -0
  104. package/phpunitMock/licenseManagerUserStatistics-success.json +11 -0
  105. package/phpunitMock/widgetPresenceCancel-default.json +1 -0
  106. package/phpunitMock/widgetPresenceGetResponse-available.json +25 -0
  107. package/phpunitMock/widgetPresenceGetResponse-unavailable.json +25 -0
  108. package/phpunitMock/widgetPresenceRespond-available.json +1 -0
  109. package/documentation/enums/_GroupModerateStatus.html +0 -1
  110. package/lib/src/types/widgets/widgetApi.d.ts +0 -24
  111. /package/lib/src/types/{adminLicence.d.ts → adminLicense.d.ts} +0 -0
@@ -1,2 +1,114 @@
1
1
  import { GroupProperties, jGroupView, UpdateGroup } from '../types/group';
2
2
  export declare const prepareGroupForUpdate: (group: jGroupView & GroupProperties) => UpdateGroup;
3
+ export declare const checkProperties: (group: jGroupView & GroupProperties, updateGroup: Partial<UpdateGroup>) => updateGroup is {
4
+ type: string;
5
+ title: string;
6
+ description: string;
7
+ language: string;
8
+ privacy: string | number;
9
+ edito: string | null;
10
+ category: string;
11
+ idCommunity?: string | undefined;
12
+ } & {
13
+ edit_access?: "" | "author" | undefined;
14
+ commentLevel?: "1" | "-1" | "2" | "3" | undefined;
15
+ displayType?: string | undefined;
16
+ user_level_signup?: "" | "1" | "2" | "3" | undefined;
17
+ spot_right_user?: string | undefined;
18
+ useTeaser?: "" | "0" | "1" | null | undefined;
19
+ spotDefaultPublishType?: string | undefined;
20
+ mail_frequency?: string | undefined;
21
+ widgets?: string[] | undefined;
22
+ fileSyncVersioningType?: "overwrite" | "author-change" | undefined;
23
+ nounsubscribe?: "0" | "1" | undefined;
24
+ mail_comment?: "" | "1" | undefined;
25
+ mail_spotit?: "" | "1" | undefined;
26
+ mail_subscriber?: "" | "1" | undefined;
27
+ lock_mail?: "" | "1" | undefined;
28
+ activity?: "0" | "1" | undefined;
29
+ publishFolder?: "0" | "1" | undefined;
30
+ notifyFolder?: "0" | "1" | undefined;
31
+ rss_access?: "0" | "1" | undefined;
32
+ rss_key?: string | undefined;
33
+ fileSyncEnabled?: "0" | "1" | undefined;
34
+ fileBankQuota?: string | undefined;
35
+ _options?: {
36
+ edit_access: ({
37
+ value: string | number;
38
+ label: string;
39
+ } & {
40
+ description: string;
41
+ })[];
42
+ commentLevel: ({
43
+ value: string | number;
44
+ label: string;
45
+ } & {
46
+ selected?: boolean | undefined;
47
+ })[];
48
+ displayType: {
49
+ value: string | number;
50
+ label: string;
51
+ }[];
52
+ user_level_signup: ({
53
+ value: string | number;
54
+ label: string;
55
+ } & {
56
+ selected?: boolean | undefined;
57
+ })[];
58
+ spot_right_user: ({
59
+ value: string | number;
60
+ label: string;
61
+ } & {
62
+ selected?: boolean | undefined;
63
+ })[];
64
+ useTeaser: {
65
+ value: string | number;
66
+ label: string;
67
+ }[];
68
+ spotDefaultPublishType: string[];
69
+ mail_frequency: {
70
+ value: string | number;
71
+ label: string;
72
+ }[];
73
+ widgets: {
74
+ id: string;
75
+ title: string;
76
+ }[];
77
+ custom_widgets: never[] | Record<string, {
78
+ type: string;
79
+ title: string;
80
+ url: string;
81
+ idSpot: string;
82
+ idOrder: string;
83
+ idWidget: string;
84
+ visible: string;
85
+ }>;
86
+ isArchive: number;
87
+ fileSyncVersioningType: {
88
+ value: string | number;
89
+ label: string;
90
+ }[];
91
+ } | undefined;
92
+ _errors?: [] | undefined;
93
+ lastRssExecution?: Record<string, string> | undefined;
94
+ } & {
95
+ uri: string;
96
+ rss_feed: string;
97
+ token?: string | undefined;
98
+ image?: string | null | undefined;
99
+ custom_widgets?: Record<string, {
100
+ type: string;
101
+ title: string;
102
+ url: string;
103
+ idSpot: string;
104
+ idOrder: string;
105
+ idWidget: string;
106
+ visible: string;
107
+ }> | undefined;
108
+ spotBanner?: never[] | Record<string, {
109
+ id: string;
110
+ size: string;
111
+ name: string;
112
+ }> | undefined;
113
+ uriCommunity?: string | undefined;
114
+ };
@@ -1,10 +1,6 @@
1
- import { ZodSchema } from 'zod';
2
- import { WidgetApiType, WidgetArticleAttachmentType, WidgetArticleButtonType, WidgetArticleGalleryType, WidgetArticleImageType, WidgetArticleSliderType, WidgetArticleTextType, WidgetArticleTitleType, WidgetCheckListType, WidgetDatasourceTableType } from '../types';
3
- export declare const ensureWidgetType: (widget: unknown, schema: ZodSchema) => boolean;
1
+ import { WidgetArticleAttachmentType, WidgetArticleButtonType, WidgetArticleGalleryType, WidgetArticleImageType, WidgetArticleSliderType, WidgetArticleTextType, WidgetArticleTitleType, WidgetCheckListType, WidgetDatasourceTableType } from '../types';
4
2
  export declare const ensureWidgetWrapperProps: (o: unknown) => o is import("../types").WidgetWrapperGeneric<({
5
3
  layers?: string[] | undefined;
6
- } & WidgetApiType) | ({
7
- layers?: string[] | undefined;
8
4
  } & WidgetArticleAttachmentType) | ({
9
5
  layers?: string[] | undefined;
10
6
  } & WidgetArticleButtonType) | ({
@@ -28,7 +24,7 @@ export declare const ensureWidgetWrapperProps: (o: unknown) => o is import("../t
28
24
  uniqid: string;
29
25
  content: {
30
26
  uri?: string | undefined;
31
- limit?: number | undefined;
27
+ limit?: number | boolean | undefined;
32
28
  tableColumnsData?: {
33
29
  name?: string | undefined;
34
30
  label?: string | undefined;
@@ -46,8 +42,9 @@ export declare const ensureWidgetWrapperProps: (o: unknown) => o is import("../t
46
42
  tableSizedColumns?: boolean | undefined;
47
43
  tableSizedColumnsWidth?: number | undefined;
48
44
  };
49
- })>;
50
- export declare const ensureWidgetApiType: (widget: unknown) => widget is WidgetApiType;
45
+ }) | ({
46
+ layers?: string[] | undefined;
47
+ } & import("../types").WidgetPresenceType)>;
51
48
  export declare const ensureWidgetArticleAttachmentType: (widget: unknown) => widget is WidgetArticleAttachmentType;
52
49
  export declare const ensureWidgetArticleButtonType: (widget: unknown) => widget is WidgetArticleButtonType;
53
50
  export declare const ensureWidgetArticleGalleryType: (widget: unknown) => widget is WidgetArticleGalleryType;
@@ -62,7 +59,7 @@ export declare const ensureWidgetExcelDatasourceTableType: (widget: unknown) =>
62
59
  uniqid: string;
63
60
  content: {
64
61
  uri?: string | undefined;
65
- limit?: number | undefined;
62
+ limit?: number | boolean | undefined;
66
63
  tableColumnsData?: {
67
64
  name?: string | undefined;
68
65
  label?: string | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jamespot-user-api",
3
- "version": "1.0.182",
3
+ "version": "1.0.184",
4
4
  "main": "lib/jamespot-user-api.js",
5
5
  "types": "lib/src/index.d.ts",
6
6
  "directories": {
@@ -16,7 +16,7 @@
16
16
  "@babel/preset-env": "^7.15.8",
17
17
  "@babel/preset-typescript": "^7.15.0",
18
18
  "@types/jest": "^27.0.2",
19
- "@types/node": "^16.11.1",
19
+ "@types/node": "^20.14.8",
20
20
  "@types/node-fetch": "^2.5.12",
21
21
  "@typescript-eslint/eslint-plugin": "^5.4.0",
22
22
  "@typescript-eslint/parser": "^5.4.0",
@@ -58,6 +58,10 @@
58
58
  "dependencies": {
59
59
  "zod": "^3.22.4"
60
60
  },
61
+ "engines": {
62
+ "node": ">=20.17.0 <21.0.0",
63
+ "pnpm": ">=9.9.0 <10"
64
+ },
61
65
  "scripts": {
62
66
  "build": "npx webpack --env NODE_ENV=production",
63
67
  "build-dev-vm": "npx webpack --env NODE_ENV=development --env NODE_BUILD=VM",
@@ -0,0 +1,270 @@
1
+ {
2
+ "o": "admin",
3
+ "f": "apps",
4
+ "error": 0,
5
+ "messages": [],
6
+ "result": [
7
+ {
8
+ "name": "AdminPlatformHook",
9
+ "label": "Plateforme",
10
+ "icon": "fs-plateform",
11
+ "color": ["33", "90%", "59%"],
12
+ "state": "jAdmin.platform.home",
13
+ "url": "/?action=admin#/admin/platform",
14
+ "tabs": [
15
+ {
16
+ "sref": "jAdmin.platform.home",
17
+ "idDiv": "admin-tab-home",
18
+ "label": "Plateforme",
19
+ "icon": "icon-home"
20
+ },
21
+ {
22
+ "sref": "jAdmin.platform.mobile",
23
+ "idDiv": "admin-tab-mobile",
24
+ "label": "Configuration mobile",
25
+ "icon": "icon-mobile"
26
+ },
27
+ {
28
+ "sref": "jAdmin.platform.access",
29
+ "idDiv": "admin-tab-access",
30
+ "label": "Mode d'acc\u00e8s",
31
+ "icon": "icon-exchange"
32
+ },
33
+ {
34
+ "sref": "jAdmin.platform.custom",
35
+ "idDiv": "admin-tab-custom",
36
+ "label": "Mise en page",
37
+ "icon": "icon-th-large"
38
+ },
39
+ {
40
+ "sref": "jAdmin.platform.cgu",
41
+ "idDiv": "admin-tab-cgu",
42
+ "label": "CGU",
43
+ "icon": "icon-institution"
44
+ },
45
+ {
46
+ "sref": "jAdmin.platform.rgpd",
47
+ "idDiv": "admin-tab-rgpd",
48
+ "label": "Consentement RGPD",
49
+ "icon": "icon-balance-scale"
50
+ },
51
+ {
52
+ "sref": "jAdmin.platform.mail",
53
+ "idDiv": "admin-tab-mail",
54
+ "label": "Courriels de la plateforme",
55
+ "icon": "icon-envelope"
56
+ }
57
+ ],
58
+ "access": true
59
+ },
60
+ {
61
+ "name": "AdminUserHook",
62
+ "label": "Utilisateurs",
63
+ "icon": "fs-user",
64
+ "color": ["228", "60%", "68%"],
65
+ "state": "jAdmin.user.list",
66
+ "url": "/?action=admin#/admin/user/list/",
67
+ "tabs": [
68
+ {
69
+ "sref": "jAdmin.user.list",
70
+ "idDiv": "admin-tab-user-list",
71
+ "label": "Utilisateurs",
72
+ "icon": "icon-user"
73
+ },
74
+ {
75
+ "sref": "jAdmin.user.fields",
76
+ "idDiv": "admin-tab-user-fields",
77
+ "label": "R\u00e9glages des champs",
78
+ "icon": "icon-sliders"
79
+ },
80
+ {
81
+ "sref": "jAdmin.user.profiles",
82
+ "idDiv": "admin-tab-user-profiles",
83
+ "label": "Profils",
84
+ "icon": "icon-users"
85
+ },
86
+ {
87
+ "sref": "jAdmin.user.loginErrors",
88
+ "idDiv": "admin-tab-user-loginErrors",
89
+ "label": "Erreurs de connexion",
90
+ "icon": "icon-warning"
91
+ },
92
+ {
93
+ "sref": "jAdmin.advanced.user-moderatedUser",
94
+ "idDiv": "admin-tab-user-moderatedUser",
95
+ "label": "Liste de mod\u00e9ration",
96
+ "icon": "icon-drivers-license-o"
97
+ },
98
+ {
99
+ "sref": "jAdmin.advanced.user-desklessUser",
100
+ "idDiv": "admin-tab-user-desklessUser",
101
+ "label": "Utilisateur sans bureau",
102
+ "icon": "icon-vcard-o"
103
+ }
104
+ ],
105
+ "access": true
106
+ },
107
+ {
108
+ "name": "AdminGroupHook",
109
+ "label": "Groupes",
110
+ "icon": "fs-group",
111
+ "color": ["346", "83%", "59%"],
112
+ "state": "jAdmin.group.list",
113
+ "url": "/?action=admin#/admin/group/list/",
114
+ "tabs": [
115
+ {
116
+ "sref": "jAdmin.group.list",
117
+ "idDiv": "admin-tab-group-list",
118
+ "label": "Gestionnaire de groupes",
119
+ "icon": "icon-group"
120
+ },
121
+ {
122
+ "sref": "jAdmin.group.category",
123
+ "idDiv": "admin-tab-group-category",
124
+ "label": "Gestionnaire de cat\u00e9gories",
125
+ "icon": "icon-ticket"
126
+ },
127
+ {
128
+ "sref": "jAdmin.group.directory",
129
+ "idDiv": "admin-tab-group-directory",
130
+ "label": "Gestionnaire de filtres",
131
+ "icon": "icon-sliders"
132
+ }
133
+ ],
134
+ "access": true
135
+ },
136
+ {
137
+ "name": "AdminContentHook",
138
+ "label": "Contenus",
139
+ "icon": "fs-article",
140
+ "color": ["75", "37%", "52%"],
141
+ "state": "jAdmin.content.list",
142
+ "url": "/?action=admin#/admin/content",
143
+ "tabs": [
144
+ {
145
+ "sref": "jAdmin.content.list",
146
+ "idDiv": "admin-tab-content-list",
147
+ "label": "Contenus",
148
+ "icon": "icon-file-text"
149
+ },
150
+ {
151
+ "sref": "jAdmin.content.comment",
152
+ "idDiv": "admin-tab-content-comment",
153
+ "label": "Commentaires",
154
+ "icon": "icon-comments"
155
+ },
156
+ {
157
+ "sref": "jAdmin.content.scheduled",
158
+ "idDiv": "admin-tab-content-scheduled",
159
+ "label": "Contenu programm\u00e9",
160
+ "icon": "icon-clock-o"
161
+ },
162
+ {
163
+ "sref": "jAdmin.content.files",
164
+ "idDiv": "admin-tab-content-files",
165
+ "label": "Fichiers",
166
+ "icon": "icon-files-o"
167
+ }
168
+ ],
169
+ "access": true
170
+ },
171
+ {
172
+ "name": "manageAppsHook",
173
+ "label": "Applications",
174
+ "icon": "fs-applications",
175
+ "color": ["197", "81%", "67%"],
176
+ "url": "/?action=manageApps",
177
+ "access": true
178
+ },
179
+ {
180
+ "name": "IndicatorsHook",
181
+ "label": "Indicateurs",
182
+ "icon": "fs-indicator",
183
+ "color": ["259", "59%", "61%"],
184
+ "url": "/?action=IndicatorsHome",
185
+ "access": true
186
+ },
187
+ {
188
+ "name": "AdminAdvancedHook",
189
+ "label": "Avanc\u00e9",
190
+ "icon": "fs-admin-advanced",
191
+ "color": ["171", "58%", "68%"],
192
+ "state": "jAdmin.advanced.platform",
193
+ "url": "/?action=admin#/admin/advanced",
194
+ "tabs": [
195
+ {
196
+ "sref": "jAdmin.advanced.platform",
197
+ "idDiv": "admin-tab-advanced-platform-list",
198
+ "label": "Plateforme",
199
+ "icon": "icon-cube"
200
+ },
201
+ {
202
+ "sref": "jAdmin.advanced.user({'action':'account'})",
203
+ "idDiv": "admin-advanced-user",
204
+ "label": "Utilisateurs",
205
+ "icon": "icon-user"
206
+ },
207
+ {
208
+ "sref": "jAdmin.advanced.group",
209
+ "idDiv": "admin-tab-advanced-group",
210
+ "label": "Groupes",
211
+ "icon": "icon-users"
212
+ },
213
+ {
214
+ "sref": "jAdmin.advanced.content({'action':'Content'})",
215
+ "idDiv": "admin-tab-advanced-content",
216
+ "label": "Contenus",
217
+ "icon": "icon-file-text-o"
218
+ },
219
+ {
220
+ "href": "/ng/app/taxonomy",
221
+ "idDiv": "admin-tab-advanced-taxonomy",
222
+ "label": "Gestionnaire des listes de mots-cl\u00e9s",
223
+ "icon": "icon-fs-taxonomy"
224
+ },
225
+ {
226
+ "sref": "jAdmin.advanced.registry",
227
+ "idDiv": "admin-tab-advanced-registry",
228
+ "label": "Param\u00e9trages",
229
+ "icon": "icon-th"
230
+ }
231
+ ],
232
+ "access": true
233
+ },
234
+ {
235
+ "name": "AdminDevHook",
236
+ "label": "D\u00e9veloppeur",
237
+ "icon": "fs-admin-cog",
238
+ "color": ["48", "95%", "53%"],
239
+ "state": "jAdmin.dev.setting",
240
+ "url": "/?action=admin#/admin/dev/setting/",
241
+ "tabs": [
242
+ {
243
+ "sref": "jAdmin.dev.setting",
244
+ "idDiv": "admin-tab-dev-setting",
245
+ "label": "Param\u00e9trages",
246
+ "icon": "icon-terminal"
247
+ },
248
+ {
249
+ "sref": "jAdmin.dev.theme",
250
+ "idDiv": "admin-dev-theme",
251
+ "label": "G\u00e9rer les th\u00e8mes",
252
+ "icon": "icon-paint-brush"
253
+ },
254
+ {
255
+ "sref": "jAdmin.dev.css",
256
+ "idDiv": "admin-dev-css",
257
+ "label": "CSS",
258
+ "icon": "icon-css3"
259
+ },
260
+ {
261
+ "sref": "jAdmin.dev.types",
262
+ "idDiv": "admin-tab-dev-types",
263
+ "label": "Types",
264
+ "icon": "icon-th"
265
+ }
266
+ ],
267
+ "access": true
268
+ }
269
+ ]
270
+ }
@@ -173,7 +173,8 @@
173
173
  ]
174
174
  }
175
175
  }
176
- }
176
+ },
177
+ { "title": "", "widget": { "name": "widget-presence", "uniqid": "66e039b77a878", "content": {} } }
177
178
  ],
178
179
  "articleWidgetDisplayMode": null
179
180
  }
@@ -0,0 +1,7 @@
1
+ {
2
+ "o": "licenseManager",
3
+ "f": "assignPossiblesLicenses",
4
+ "error": 0,
5
+ "messages": [],
6
+ "result": true
7
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "o": "licenseManager",
3
+ "f": "countObjectsWithoutLicense",
4
+ "error": 0,
5
+ "messages": [],
6
+ "result": 8
7
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "o": "licenseManager",
3
+ "f": "getAssignmentMode",
4
+ "error": 0,
5
+ "messages": [],
6
+ "result": "automatic"
7
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "o": "licenseManager",
3
+ "f": "optimizeLicenses",
4
+ "error": 0,
5
+ "messages": [],
6
+ "result": true
7
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "o": "licenseManager",
3
+ "f": "setAssignmentMode",
4
+ "error": 0,
5
+ "messages": [],
6
+ "result": true
7
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "o": "licenseManager",
3
+ "f": "userStatistics",
4
+ "error": 0,
5
+ "messages": [],
6
+ "result": {
7
+ "countActiveUsersWithoutLicense": 6,
8
+ "countLicensesAssigned": 2,
9
+ "countLicensesNotAssigned": 0
10
+ }
11
+ }
@@ -0,0 +1 @@
1
+ { "o": "widget", "f": "PresenceCancel", "error": 0, "messages": [], "result": true }
@@ -0,0 +1,25 @@
1
+ {
2
+ "o": "widget",
3
+ "f": "PresenceGetResponse",
4
+ "error": 0,
5
+ "messages": [],
6
+ "result": {
7
+ "userValue": 1,
8
+ "userAvailableList": [
9
+ {
10
+ "id": 4,
11
+ "mainType": "user",
12
+ "type": "user",
13
+ "uri": "user/4",
14
+ "dateCreation": "2019-07-09 15:48:26",
15
+ "dateModified": "2019-07-09 15:51:24",
16
+ "title": "Admin1",
17
+ "_url": "/user/4",
18
+ "level": 9
19
+ }
20
+ ],
21
+ "userUnavailableList": [],
22
+ "userAvailableTotal": 1,
23
+ "userUnavailableTotal": 0
24
+ }
25
+ }
@@ -0,0 +1,25 @@
1
+ {
2
+ "o": "widget",
3
+ "f": "PresenceGetResponse",
4
+ "error": 0,
5
+ "messages": [],
6
+ "result": {
7
+ "userValue": 0,
8
+ "userAvailableList": [],
9
+ "userUnavailableList": [
10
+ {
11
+ "id": 4,
12
+ "mainType": "user",
13
+ "type": "user",
14
+ "uri": "user/4",
15
+ "dateCreation": "2019-07-09 15:48:26",
16
+ "dateModified": "2019-07-09 15:51:24",
17
+ "title": "Admin1",
18
+ "_url": "/user/4",
19
+ "level": 9
20
+ }
21
+ ],
22
+ "userAvailableTotal": 0,
23
+ "userUnavailableTotal": 1
24
+ }
25
+ }
@@ -0,0 +1 @@
1
+ { "o": "widget", "f": "PresenceRespond", "error": 0, "messages": [], "result": [] }
@@ -1 +0,0 @@
1
- <!DOCTYPE html><html class="default"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>_GroupModerateStatus | jamespot-user-api</title><meta name="description" content="Documentation for jamespot-user-api"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.body.classList.add(localStorage.getItem("tsd-theme") || "os")</script><header><div class="tsd-page-toolbar"><div class="container"><div class="table-wrap"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget search no-caption">Search</label><input type="text" id="tsd-search-field"/></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">jamespot-user-api</a></div><div class="table-cell" id="tsd-widgets"><div id="tsd-filter"><a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a><div class="tsd-filter-group"><div class="tsd-select" id="tsd-filter-visibility"><span class="tsd-select-label">All</span><ul class="tsd-select-list"><li data-value="public">Public</li><li data-value="protected">Public/Protected</li><li data-value="private" class="selected">All</li></ul></div> <input type="checkbox" id="tsd-filter-inherited" checked/><label class="tsd-widget" for="tsd-filter-inherited">Inherited</label><input type="checkbox" id="tsd-filter-externals" checked/><label class="tsd-widget" for="tsd-filter-externals">Externals</label></div></div><a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a></div></div></div></div><div class="tsd-page-title"><div class="container"><ul class="tsd-breadcrumb"><li><a href="../modules.html">jamespot-user-api</a></li><li><a href="_GroupModerateStatus.html">_GroupModerateStatus</a></li></ul><h1>Enumeration _GroupModerateStatus </h1></div></div></header><div class="container container-main"><div class="row"><div class="col-8 col-content"><section class="tsd-panel-group tsd-index-group"><h2>Index</h2><section class="tsd-panel tsd-index-panel"><div class="tsd-index-content"><section class="tsd-index-section "><h3>Enumeration Members</h3><ul class="tsd-index-list"><li class="tsd-kind-enum-member tsd-parent-kind-enum"><a href="_GroupModerateStatus.html#SPOT_MODERATE_ACCEPT" class="tsd-kind-icon">SPOT_<wbr/>MODERATE_<wbr/>ACCEPT</a></li><li class="tsd-kind-enum-member tsd-parent-kind-enum"><a href="_GroupModerateStatus.html#SPOT_MODERATE_IGNORE" class="tsd-kind-icon">SPOT_<wbr/>MODERATE_<wbr/>IGNORE</a></li><li class="tsd-kind-enum-member tsd-parent-kind-enum"><a href="_GroupModerateStatus.html#SPOT_MODERATE_PENDING" class="tsd-kind-icon">SPOT_<wbr/>MODERATE_<wbr/>PENDING</a></li></ul></section></div></section></section><section class="tsd-panel-group tsd-member-group "><h2>Enumeration Members</h2><section class="tsd-panel tsd-member tsd-kind-enum-member tsd-parent-kind-enum"><a id="SPOT_MODERATE_ACCEPT" class="tsd-anchor"></a><h3 class="tsd-anchor-link">SPOT_<wbr/>MODERATE_<wbr/>ACCEPT<a href="#SPOT_MODERATE_ACCEPT" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">SPOT_<wbr/>MODERATE_<wbr/>ACCEPT<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">1</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/Jamespot/jamespot-user-api/blob/d768d47/src/types/group.ts#L51">src/types/group.ts:51</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-enum-member tsd-parent-kind-enum"><a id="SPOT_MODERATE_IGNORE" class="tsd-anchor"></a><h3 class="tsd-anchor-link">SPOT_<wbr/>MODERATE_<wbr/>IGNORE<a href="#SPOT_MODERATE_IGNORE" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">SPOT_<wbr/>MODERATE_<wbr/>IGNORE<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">0</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/Jamespot/jamespot-user-api/blob/d768d47/src/types/group.ts#L50">src/types/group.ts:50</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-enum-member tsd-parent-kind-enum"><a id="SPOT_MODERATE_PENDING" class="tsd-anchor"></a><h3 class="tsd-anchor-link">SPOT_<wbr/>MODERATE_<wbr/>PENDING<a href="#SPOT_MODERATE_PENDING" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">SPOT_<wbr/>MODERATE_<wbr/>PENDING<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">2</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/Jamespot/jamespot-user-api/blob/d768d47/src/types/group.ts#L52">src/types/group.ts:52</a></li></ul></aside></section></section></div><div class="col-4 col-menu menu-sticky-wrap menu-highlight"><nav class="tsd-navigation primary"><ul><li class=""><a href="../modules.html">Exports</a></li></ul></nav><nav class="tsd-navigation secondary menu-sticky"><ul><li class="current tsd-kind-enum"><a href="_GroupModerateStatus.html" class="tsd-kind-icon">_<wbr/>Group<wbr/>Moderate<wbr/>Status</a><ul><li class="tsd-kind-enum-member tsd-parent-kind-enum"><a href="_GroupModerateStatus.html#SPOT_MODERATE_ACCEPT" class="tsd-kind-icon">SPOT_<wbr/>MODERATE_<wbr/>ACCEPT</a></li><li class="tsd-kind-enum-member tsd-parent-kind-enum"><a href="_GroupModerateStatus.html#SPOT_MODERATE_IGNORE" class="tsd-kind-icon">SPOT_<wbr/>MODERATE_<wbr/>IGNORE</a></li><li class="tsd-kind-enum-member tsd-parent-kind-enum"><a href="_GroupModerateStatus.html#SPOT_MODERATE_PENDING" class="tsd-kind-icon">SPOT_<wbr/>MODERATE_<wbr/>PENDING</a></li></ul></li></ul></nav></div></div></div><footer class="with-border-bottom"><div class="container"><h2>Legend</h2><div class="tsd-legend-group"><ul class="tsd-legend"><li class="tsd-kind-constructor tsd-parent-kind-class"><span class="tsd-kind-icon">Constructor</span></li><li class="tsd-kind-property tsd-parent-kind-class"><span class="tsd-kind-icon">Property</span></li><li class="tsd-kind-method tsd-parent-kind-class"><span class="tsd-kind-icon">Method</span></li></ul><ul class="tsd-legend"><li class="tsd-kind-property tsd-parent-kind-interface"><span class="tsd-kind-icon">Property</span></li><li class="tsd-kind-method tsd-parent-kind-interface"><span class="tsd-kind-icon">Method</span></li></ul><ul class="tsd-legend"><li class="tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited constructor</span></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited property</span></li></ul><ul class="tsd-legend"><li class="tsd-kind-property tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private property</span></li></ul><ul class="tsd-legend"><li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static method</span></li></ul></div><h2>Settings</h2><p>Theme <select id="theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></p></div></footer><div class="container tsd-generator"><p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div><div class="overlay"></div><script src="../assets/main.js"></script></body></html>
@@ -1,24 +0,0 @@
1
- import { z } from 'zod';
2
- import { WidgetsName } from './common';
3
- export type WidgetApiContent = {
4
- url?: string;
5
- keys?: string[];
6
- order?: string;
7
- orderBy?: string;
8
- };
9
- export declare const widgetApiContentSchema: z.ZodObject<{
10
- url: z.ZodOptionalType<z.ZodType<string | undefined, z.ZodTypeDef, string | undefined>>;
11
- keys: z.ZodOptionalType<z.ZodType<string[] | undefined, z.ZodTypeDef, string[] | undefined>>;
12
- order: z.ZodOptionalType<z.ZodType<string | undefined, z.ZodTypeDef, string | undefined>>;
13
- orderBy: z.ZodOptionalType<z.ZodType<string | undefined, z.ZodTypeDef, string | undefined>>;
14
- }, "strip", z.ZodTypeAny, WidgetApiContent, WidgetApiContent>;
15
- export type WidgetApiType = {
16
- name: WidgetsName.Api;
17
- uniqid: string;
18
- content: WidgetApiContent;
19
- };
20
- export declare const widgetApiTypeSchema: z.ZodObject<{
21
- name: z.ZodType<WidgetsName.Api, z.ZodTypeDef, WidgetsName.Api>;
22
- uniqid: z.ZodType<string, z.ZodTypeDef, string>;
23
- content: z.ZodType<WidgetApiContent, z.ZodTypeDef, WidgetApiContent>;
24
- }, "strip", z.ZodTypeAny, WidgetApiType, WidgetApiType>;