jamespot-user-api 1.0.178 → 1.0.180

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 +18 -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 +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 +8 -8
  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/Category.html +1 -1
  47. package/documentation/interfaces/FileBankProps.html +1 -1
  48. package/documentation/interfaces/FolderProps.html +1 -1
  49. package/documentation/interfaces/ListFilterSpec.html +1 -1
  50. package/documentation/interfaces/OF.html +1 -1
  51. package/documentation/interfaces/PagingResults.html +1 -1
  52. package/documentation/interfaces/RootFolderProps.html +1 -1
  53. package/documentation/interfaces/SpotProps.html +1 -1
  54. package/documentation/interfaces/TaxonomyCreate.html +1 -1
  55. package/documentation/interfaces/WidgetType.html +1 -1
  56. package/documentation/interfaces/WindowInterface.html +1 -1
  57. package/documentation/modules.html +11 -11
  58. package/jest.config.ts +2 -2
  59. package/lib/jamespot-user-api.js +1 -1
  60. package/lib/jamespot-user-api.js.map +1 -1
  61. package/lib/src/apis/admin/license.d.ts +6 -4
  62. package/lib/src/apis/admin/utils.d.ts +2 -2
  63. package/lib/src/apis/bookmark/bookmark.d.ts +18 -18
  64. package/lib/src/apis/datasource/datasource.d.ts +1 -1
  65. package/lib/src/apis/filebank/filebank.d.ts +19 -19
  66. package/lib/src/apis/filebank/filebank.mock.d.ts +11 -2
  67. package/lib/src/apis/user/user.d.ts +15 -111
  68. package/lib/src/types/adminLicence.d.ts +31 -56
  69. package/lib/src/types/adminUtils.d.ts +14 -14
  70. package/lib/src/types/article.d.ts +3160 -7359
  71. package/lib/src/types/asei.d.ts +197 -822
  72. package/lib/src/types/assetReservation.d.ts +1352 -4283
  73. package/lib/src/types/autocomplete.d.ts +55 -36
  74. package/lib/src/types/bookmark.d.ts +222 -234
  75. package/lib/src/types/businessContact.d.ts +243 -880
  76. package/lib/src/types/comment.d.ts +200 -900
  77. package/lib/src/types/diapazone.d.ts +77 -11
  78. package/lib/src/types/drive.d.ts +27 -21
  79. package/lib/src/types/faq.d.ts +2077 -5450
  80. package/lib/src/types/file.d.ts +18 -9
  81. package/lib/src/types/group.d.ts +10 -6
  82. package/lib/src/types/license.d.ts +12 -48
  83. package/lib/src/types/link.d.ts +25 -14
  84. package/lib/src/types/mediaLibrary.d.ts +223 -820
  85. package/lib/src/types/meeting.d.ts +1104 -3044
  86. package/lib/src/types/model.d.ts +3 -0
  87. package/lib/src/types/object.d.ts +90 -10
  88. package/lib/src/types/objectBase.d.ts +4 -3
  89. package/lib/src/types/pollSurvey.d.ts +1075 -3015
  90. package/lib/src/types/quizz.d.ts +1002 -2942
  91. package/lib/src/types/search.d.ts +134 -131
  92. package/lib/src/types/share.d.ts +130 -60
  93. package/lib/src/types/socialEvent.d.ts +1002 -2942
  94. package/lib/src/types/support.d.ts +1125 -3059
  95. package/lib/src/types/surveyDate.d.ts +1005 -2941
  96. package/lib/src/types/tinymce.d.ts +4 -3
  97. package/lib/src/types/tvDisplay.d.ts +2 -2
  98. package/lib/src/types/user.d.ts +72 -45
  99. package/lib/src/types/utils.d.ts +17 -89
  100. package/lib/src/types/widgets/default.d.ts +365 -1642
  101. package/lib/src/types/widgets/widgetArticleButton.d.ts +5 -4
  102. package/lib/src/types/widgets/widgetDatasourceTable.d.ts +37 -76
  103. package/lib/src/types/widgets/widgetExcelDatasourceTable.d.ts +39 -33
  104. package/lib/src/types/widgets.d.ts +4268 -11774
  105. package/lib/src/util/Test.d.ts +64 -660
  106. package/package.json +1 -2
  107. package/phpunitMock/fileBankGetBanks-success.json +69 -0
  108. package/phpunitMock/fileBankGetDocuments-success.json +110 -0
  109. package/phpunitMock/fileBankGetFolders-success.json +188 -0
  110. package/phpunitMock/fileBankGetPath-success.json +43 -43
  111. package/phpunitMock/fileBankSearchContent-success.json +45 -0
@@ -37,19 +37,21 @@ export declare const baseAutocompleteSchema: z.ZodObject<{
37
37
  class: string;
38
38
  }>;
39
39
  export type BaseAutocomplete = z.infer<typeof baseAutocompleteSchema>;
40
- export declare const jObjectAutocompleteSchema: z.ZodObject<{
41
- type: z.ZodString;
40
+ export declare const jObjectAutocompleteSchema: z.ZodObject<z.objectUtil.extendShape<{
42
41
  id: z.ZodString;
43
- mainType: z.ZodString;
44
42
  uri: z.ZodString;
43
+ shortUri: z.ZodString;
44
+ title: z.ZodString;
45
45
  name: z.ZodString;
46
+ mainType: z.ZodString;
47
+ type: z.ZodString;
46
48
  label: z.ZodString;
47
- shortUri: z.ZodString;
48
49
  cssClass: z.ZodString;
49
50
  cssColor: z.ZodString;
50
51
  class: z.ZodString;
52
+ }, {
51
53
  title: z.ZodString;
52
- }, "strip", z.ZodTypeAny, {
54
+ }>, "strip", z.ZodTypeAny, {
53
55
  type: string;
54
56
  id: string;
55
57
  mainType: string;
@@ -75,20 +77,23 @@ export declare const jObjectAutocompleteSchema: z.ZodObject<{
75
77
  class: string;
76
78
  }>;
77
79
  export type jObjectAutocomplete = z.infer<typeof jObjectAutocompleteSchema>;
78
- export declare const jUserAutocompleteSchema: z.ZodObject<{
79
- type: z.ZodString;
80
+ export declare const jUserAutocompleteSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
80
81
  id: z.ZodString;
81
- mainType: z.ZodString;
82
82
  uri: z.ZodString;
83
+ shortUri: z.ZodString;
83
84
  title: z.ZodString;
84
85
  name: z.ZodString;
86
+ mainType: z.ZodString;
87
+ type: z.ZodString;
85
88
  label: z.ZodString;
86
- shortUri: z.ZodString;
87
89
  cssClass: z.ZodString;
88
90
  cssColor: z.ZodString;
89
91
  class: z.ZodString;
92
+ }, {
93
+ title: z.ZodString;
94
+ }>, {
90
95
  Pseudo: z.ZodString;
91
- }, "strip", z.ZodTypeAny, {
96
+ }>, "strip", z.ZodTypeAny, {
92
97
  type: string;
93
98
  id: string;
94
99
  mainType: string;
@@ -116,20 +121,23 @@ export declare const jUserAutocompleteSchema: z.ZodObject<{
116
121
  class: string;
117
122
  }>;
118
123
  export type jUserAutocomplete = z.infer<typeof jUserAutocompleteSchema>;
119
- export declare const jSpotAutocompleteSchema: z.ZodObject<{
120
- type: z.ZodString;
124
+ export declare const jSpotAutocompleteSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
121
125
  id: z.ZodString;
122
- mainType: z.ZodString;
123
126
  uri: z.ZodString;
127
+ shortUri: z.ZodString;
124
128
  title: z.ZodString;
125
129
  name: z.ZodString;
130
+ mainType: z.ZodString;
131
+ type: z.ZodString;
126
132
  label: z.ZodString;
127
- shortUri: z.ZodString;
128
133
  cssClass: z.ZodString;
129
134
  cssColor: z.ZodString;
130
135
  class: z.ZodString;
136
+ }, {
137
+ title: z.ZodString;
138
+ }>, {
131
139
  idspot: z.ZodString;
132
- }, "strip", z.ZodTypeAny, {
140
+ }>, "strip", z.ZodTypeAny, {
133
141
  type: string;
134
142
  id: string;
135
143
  mainType: string;
@@ -157,19 +165,21 @@ export declare const jSpotAutocompleteSchema: z.ZodObject<{
157
165
  idspot: string;
158
166
  }>;
159
167
  export type jSpotAutocomplete = z.infer<typeof jSpotAutocompleteSchema>;
160
- export declare const audienceAutocompleteSchema: z.ZodUnion<[z.ZodObject<{
161
- type: z.ZodString;
168
+ export declare const audienceAutocompleteSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
162
169
  id: z.ZodString;
163
- mainType: z.ZodString;
164
170
  uri: z.ZodString;
171
+ shortUri: z.ZodString;
172
+ title: z.ZodString;
165
173
  name: z.ZodString;
174
+ mainType: z.ZodString;
175
+ type: z.ZodString;
166
176
  label: z.ZodString;
167
- shortUri: z.ZodString;
168
177
  cssClass: z.ZodString;
169
178
  cssColor: z.ZodString;
170
179
  class: z.ZodString;
180
+ }, {
171
181
  title: z.ZodString;
172
- }, "strip", z.ZodTypeAny, {
182
+ }>, "strip", z.ZodTypeAny, {
173
183
  type: string;
174
184
  id: string;
175
185
  mainType: string;
@@ -193,20 +203,23 @@ export declare const audienceAutocompleteSchema: z.ZodUnion<[z.ZodObject<{
193
203
  cssClass: string;
194
204
  cssColor: string;
195
205
  class: string;
196
- }>, z.ZodObject<{
197
- type: z.ZodString;
206
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
198
207
  id: z.ZodString;
199
- mainType: z.ZodString;
200
208
  uri: z.ZodString;
209
+ shortUri: z.ZodString;
201
210
  title: z.ZodString;
202
211
  name: z.ZodString;
212
+ mainType: z.ZodString;
213
+ type: z.ZodString;
203
214
  label: z.ZodString;
204
- shortUri: z.ZodString;
205
215
  cssClass: z.ZodString;
206
216
  cssColor: z.ZodString;
207
217
  class: z.ZodString;
218
+ }, {
219
+ title: z.ZodString;
220
+ }>, {
208
221
  Pseudo: z.ZodString;
209
- }, "strip", z.ZodTypeAny, {
222
+ }>, "strip", z.ZodTypeAny, {
210
223
  type: string;
211
224
  id: string;
212
225
  mainType: string;
@@ -232,20 +245,23 @@ export declare const audienceAutocompleteSchema: z.ZodUnion<[z.ZodObject<{
232
245
  cssClass: string;
233
246
  cssColor: string;
234
247
  class: string;
235
- }>, z.ZodObject<{
236
- type: z.ZodString;
248
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
237
249
  id: z.ZodString;
238
- mainType: z.ZodString;
239
250
  uri: z.ZodString;
251
+ shortUri: z.ZodString;
240
252
  title: z.ZodString;
241
253
  name: z.ZodString;
254
+ mainType: z.ZodString;
255
+ type: z.ZodString;
242
256
  label: z.ZodString;
243
- shortUri: z.ZodString;
244
257
  cssClass: z.ZodString;
245
258
  cssColor: z.ZodString;
246
259
  class: z.ZodString;
260
+ }, {
261
+ title: z.ZodString;
262
+ }>, {
247
263
  idspot: z.ZodString;
248
- }, "strip", z.ZodTypeAny, {
264
+ }>, "strip", z.ZodTypeAny, {
249
265
  type: string;
250
266
  id: string;
251
267
  mainType: string;
@@ -274,15 +290,17 @@ export declare const audienceAutocompleteSchema: z.ZodUnion<[z.ZodObject<{
274
290
  }>]>;
275
291
  export type AudienceAutocomplete = z.infer<typeof audienceAutocompleteSchema>;
276
292
  export type CommunityAutocomplete = jObjectAutocomplete;
277
- export declare const communitySchema: z.ZodObject<{
278
- type: z.ZodType<string, z.ZodTypeDef, string>;
293
+ export declare const communitySchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
279
294
  id: z.ZodType<number, z.ZodTypeDef, number>;
280
295
  mainType: z.ZodType<string, z.ZodTypeDef, string>;
296
+ type: z.ZodType<string, z.ZodTypeDef, string>;
281
297
  uri: z.ZodType<string, z.ZodTypeDef, string>;
282
298
  dateCreation: z.ZodOptionalType<z.ZodType<string | undefined, z.ZodTypeDef, string | undefined>>;
283
299
  dateModified: z.ZodOptionalType<z.ZodType<string | null | undefined, z.ZodTypeDef, string | null | undefined>>;
300
+ }, {
284
301
  title: z.ZodString;
285
302
  _url: z.ZodString;
303
+ }>, {
286
304
  isTechnical: z.ZodNumber;
287
305
  status: z.ZodNumber;
288
306
  image: z.ZodString;
@@ -297,17 +315,18 @@ export declare const communitySchema: z.ZodObject<{
297
315
  moderators: number;
298
316
  members: string;
299
317
  }>;
300
- _members: z.ZodArray<z.ZodObject<{
301
- type: z.ZodType<string, z.ZodTypeDef, string>;
318
+ _members: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
302
319
  id: z.ZodType<number, z.ZodTypeDef, number>;
303
320
  mainType: z.ZodType<string, z.ZodTypeDef, string>;
321
+ type: z.ZodType<string, z.ZodTypeDef, string>;
304
322
  uri: z.ZodType<string, z.ZodTypeDef, string>;
305
323
  dateCreation: z.ZodOptionalType<z.ZodType<string | undefined, z.ZodTypeDef, string | undefined>>;
306
324
  dateModified: z.ZodOptionalType<z.ZodType<string | null | undefined, z.ZodTypeDef, string | null | undefined>>;
325
+ }, {
307
326
  title: z.ZodString;
308
327
  _url: z.ZodString;
309
- }, "strip", z.ZodTypeAny, import("./objectBase").jObjectLittle, import("./objectBase").jObjectLittle>, "many">;
310
- }, "strip", z.ZodTypeAny, {
328
+ }>, "strip", z.ZodTypeAny, import("./objectBase").jObjectLittle, import("./objectBase").jObjectLittle>, "many">;
329
+ }>, "strip", z.ZodTypeAny, {
311
330
  type: string;
312
331
  status: number;
313
332
  id: number;