jamespot-user-api 1.0.179 → 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 +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 +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 +2 -2
  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
@@ -30,62 +30,15 @@ export declare const shareOptionObjectSchema: z.ZodObject<{
30
30
  _right: import("./common").Rights;
31
31
  }>;
32
32
  export type ShareOptionObject = z.infer<typeof shareOptionObjectSchema>;
33
- export declare const sharedAudienceItemSchema: z.ZodUnion<[z.ZodObject<{
34
- type: z.ZodType<string, z.ZodTypeDef, string>;
35
- id: z.ZodType<number, z.ZodTypeDef, number>;
36
- mainType: z.ZodType<string, z.ZodTypeDef, string>;
37
- uri: z.ZodType<string, z.ZodTypeDef, string>;
38
- title: z.ZodString;
39
- _url: z.ZodString;
40
- level: z.ZodNativeEnum<{
41
- readonly ADMIN: 9;
42
- readonly USER: 5;
43
- readonly EXTERNAL: 3;
44
- readonly GUEST: 0;
45
- }>;
46
- dateCreation: z.ZodString;
47
- dateModified: z.ZodString;
48
- }, "strip", z.ZodUnion<[z.ZodNumber, z.ZodNullable<z.ZodString>, z.ZodNullable<z.ZodString>, z.ZodNullable<z.ZodString>, z.ZodString, z.ZodNumber, z.ZodNullable<z.ZodString>, z.ZodString, z.ZodString]>, import("./user").jUserLittle, import("./user").jUserLittle>, z.ZodObject<{
49
- type: z.ZodType<string, z.ZodTypeDef, string>;
50
- id: z.ZodType<number, z.ZodTypeDef, number>;
51
- mainType: z.ZodType<string, z.ZodTypeDef, string>;
52
- uri: z.ZodType<string, z.ZodTypeDef, string>;
53
- title: z.ZodString;
54
- _url: z.ZodString;
55
- dateCreation: z.ZodString;
56
- dateModified: z.ZodString;
57
- category: z.ZodNumber;
58
- privacy: z.ZodNumber;
59
- }, "strip", z.ZodTypeAny, {
60
- type: string;
61
- id: number;
62
- mainType: string;
63
- uri: string;
64
- dateCreation: string;
65
- dateModified: string;
66
- title: string;
67
- _url: string;
68
- category: number;
69
- privacy: number;
70
- }, {
71
- type: string;
72
- id: number;
73
- mainType: string;
74
- uri: string;
75
- dateCreation: string;
76
- dateModified: string;
77
- title: string;
78
- _url: string;
79
- category: number;
80
- privacy: number;
81
- }>]>;
82
- export type ShareAudienceItem = z.infer<typeof sharedAudienceItemSchema>;
83
33
  export declare const shareAccessPropsSchema: z.ZodObject<{
84
- audience: z.ZodArray<z.ZodUnion<[z.ZodObject<{
85
- type: z.ZodType<string, z.ZodTypeDef, string>;
34
+ audience: z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
86
35
  id: z.ZodType<number, z.ZodTypeDef, number>;
87
36
  mainType: z.ZodType<string, z.ZodTypeDef, string>;
37
+ type: z.ZodType<string, z.ZodTypeDef, string>;
88
38
  uri: z.ZodType<string, z.ZodTypeDef, string>;
39
+ dateCreation: z.ZodOptionalType<z.ZodType<string | undefined, z.ZodTypeDef, string | undefined>>;
40
+ dateModified: z.ZodOptionalType<z.ZodType<string | null | undefined, z.ZodTypeDef, string | null | undefined>>;
41
+ }, {
89
42
  title: z.ZodString;
90
43
  _url: z.ZodString;
91
44
  level: z.ZodNativeEnum<{
@@ -96,18 +49,22 @@ export declare const shareAccessPropsSchema: z.ZodObject<{
96
49
  }>;
97
50
  dateCreation: z.ZodString;
98
51
  dateModified: z.ZodString;
99
- }, "strip", z.ZodUnion<[z.ZodNumber, z.ZodNullable<z.ZodString>, z.ZodNullable<z.ZodString>, z.ZodNullable<z.ZodString>, z.ZodString, z.ZodNumber, z.ZodNullable<z.ZodString>, z.ZodString, z.ZodString]>, import("./user").jUserLittle, import("./user").jUserLittle>, z.ZodObject<{
100
- type: z.ZodType<string, z.ZodTypeDef, string>;
52
+ }>, "strip", z.ZodUnion<[z.ZodNumber, z.ZodNullable<z.ZodString>, z.ZodNullable<z.ZodString>, z.ZodNullable<z.ZodString>, z.ZodString, z.ZodNumber, z.ZodNullable<z.ZodString>, z.ZodString, z.ZodString]>, import("./user").jUserLittle, import("./user").jUserLittle>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
101
53
  id: z.ZodType<number, z.ZodTypeDef, number>;
102
54
  mainType: z.ZodType<string, z.ZodTypeDef, string>;
55
+ type: z.ZodType<string, z.ZodTypeDef, string>;
103
56
  uri: z.ZodType<string, z.ZodTypeDef, string>;
57
+ dateCreation: z.ZodOptionalType<z.ZodType<string | undefined, z.ZodTypeDef, string | undefined>>;
58
+ dateModified: z.ZodOptionalType<z.ZodType<string | null | undefined, z.ZodTypeDef, string | null | undefined>>;
59
+ }, {
104
60
  title: z.ZodString;
105
61
  _url: z.ZodString;
62
+ }>, {
106
63
  dateCreation: z.ZodString;
107
64
  dateModified: z.ZodString;
108
65
  category: z.ZodNumber;
109
66
  privacy: z.ZodNumber;
110
- }, "strip", z.ZodTypeAny, {
67
+ }>, "strip", z.ZodTypeAny, {
111
68
  type: string;
112
69
  id: number;
113
70
  mainType: string;
@@ -129,6 +86,39 @@ export declare const shareAccessPropsSchema: z.ZodObject<{
129
86
  _url: string;
130
87
  category: number;
131
88
  privacy: number;
89
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
90
+ id: z.ZodType<number, z.ZodTypeDef, number>;
91
+ mainType: z.ZodType<string, z.ZodTypeDef, string>;
92
+ type: z.ZodType<string, z.ZodTypeDef, string>;
93
+ uri: z.ZodType<string, z.ZodTypeDef, string>;
94
+ dateCreation: z.ZodOptionalType<z.ZodType<string | undefined, z.ZodTypeDef, string | undefined>>;
95
+ dateModified: z.ZodOptionalType<z.ZodType<string | null | undefined, z.ZodTypeDef, string | null | undefined>>;
96
+ }, {
97
+ title: z.ZodString;
98
+ _url: z.ZodString;
99
+ }>, {
100
+ type: z.ZodEnum<["folder", "rootFolder"]>;
101
+ folderColor: z.ZodOptional<z.ZodString>;
102
+ }>, "strip", z.ZodTypeAny, {
103
+ type: "folder" | "rootFolder";
104
+ id: number;
105
+ mainType: string;
106
+ uri: string;
107
+ title: string;
108
+ _url: string;
109
+ dateCreation?: string | undefined;
110
+ dateModified?: string | null | undefined;
111
+ folderColor?: string | undefined;
112
+ }, {
113
+ type: "folder" | "rootFolder";
114
+ id: number;
115
+ mainType: string;
116
+ uri: string;
117
+ title: string;
118
+ _url: string;
119
+ dateCreation?: string | undefined;
120
+ dateModified?: string | null | undefined;
121
+ folderColor?: string | undefined;
132
122
  }>]>, "many">;
133
123
  read: z.ZodArray<z.ZodString, "many">;
134
124
  write: z.ZodArray<z.ZodString, "many">;
@@ -145,6 +135,16 @@ export declare const shareAccessPropsSchema: z.ZodObject<{
145
135
  _url: string;
146
136
  category: number;
147
137
  privacy: number;
138
+ } | {
139
+ type: "folder" | "rootFolder";
140
+ id: number;
141
+ mainType: string;
142
+ uri: string;
143
+ title: string;
144
+ _url: string;
145
+ dateCreation?: string | undefined;
146
+ dateModified?: string | null | undefined;
147
+ folderColor?: string | undefined;
148
148
  })[];
149
149
  write: string[];
150
150
  }, {
@@ -160,6 +160,16 @@ export declare const shareAccessPropsSchema: z.ZodObject<{
160
160
  _url: string;
161
161
  category: number;
162
162
  privacy: number;
163
+ } | {
164
+ type: "folder" | "rootFolder";
165
+ id: number;
166
+ mainType: string;
167
+ uri: string;
168
+ title: string;
169
+ _url: string;
170
+ dateCreation?: string | undefined;
171
+ dateModified?: string | null | undefined;
172
+ folderColor?: string | undefined;
163
173
  })[];
164
174
  write: string[];
165
175
  }>;
@@ -172,11 +182,14 @@ export declare const shareAccessObjectSchema: z.ZodObject<{
172
182
  generalAccessRule: z.ZodUnion<[z.ZodLiteral<"link">, z.ZodLiteral<"invitation">]>;
173
183
  generalAccessHash: z.ZodNullable<z.ZodString>;
174
184
  idUser: z.ZodNumber;
175
- _audience: z.ZodArray<z.ZodUnion<[z.ZodObject<{
176
- type: z.ZodType<string, z.ZodTypeDef, string>;
185
+ _audience: z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
177
186
  id: z.ZodType<number, z.ZodTypeDef, number>;
178
187
  mainType: z.ZodType<string, z.ZodTypeDef, string>;
188
+ type: z.ZodType<string, z.ZodTypeDef, string>;
179
189
  uri: z.ZodType<string, z.ZodTypeDef, string>;
190
+ dateCreation: z.ZodOptionalType<z.ZodType<string | undefined, z.ZodTypeDef, string | undefined>>;
191
+ dateModified: z.ZodOptionalType<z.ZodType<string | null | undefined, z.ZodTypeDef, string | null | undefined>>;
192
+ }, {
180
193
  title: z.ZodString;
181
194
  _url: z.ZodString;
182
195
  level: z.ZodNativeEnum<{
@@ -187,18 +200,22 @@ export declare const shareAccessObjectSchema: z.ZodObject<{
187
200
  }>;
188
201
  dateCreation: z.ZodString;
189
202
  dateModified: z.ZodString;
190
- }, "strip", z.ZodUnion<[z.ZodNumber, z.ZodNullable<z.ZodString>, z.ZodNullable<z.ZodString>, z.ZodNullable<z.ZodString>, z.ZodString, z.ZodNumber, z.ZodNullable<z.ZodString>, z.ZodString, z.ZodString]>, import("./user").jUserLittle, import("./user").jUserLittle>, z.ZodObject<{
191
- type: z.ZodType<string, z.ZodTypeDef, string>;
203
+ }>, "strip", z.ZodUnion<[z.ZodNumber, z.ZodNullable<z.ZodString>, z.ZodNullable<z.ZodString>, z.ZodNullable<z.ZodString>, z.ZodString, z.ZodNumber, z.ZodNullable<z.ZodString>, z.ZodString, z.ZodString]>, import("./user").jUserLittle, import("./user").jUserLittle>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
192
204
  id: z.ZodType<number, z.ZodTypeDef, number>;
193
205
  mainType: z.ZodType<string, z.ZodTypeDef, string>;
206
+ type: z.ZodType<string, z.ZodTypeDef, string>;
194
207
  uri: z.ZodType<string, z.ZodTypeDef, string>;
208
+ dateCreation: z.ZodOptionalType<z.ZodType<string | undefined, z.ZodTypeDef, string | undefined>>;
209
+ dateModified: z.ZodOptionalType<z.ZodType<string | null | undefined, z.ZodTypeDef, string | null | undefined>>;
210
+ }, {
195
211
  title: z.ZodString;
196
212
  _url: z.ZodString;
213
+ }>, {
197
214
  dateCreation: z.ZodString;
198
215
  dateModified: z.ZodString;
199
216
  category: z.ZodNumber;
200
217
  privacy: z.ZodNumber;
201
- }, "strip", z.ZodTypeAny, {
218
+ }>, "strip", z.ZodTypeAny, {
202
219
  type: string;
203
220
  id: number;
204
221
  mainType: string;
@@ -220,6 +237,39 @@ export declare const shareAccessObjectSchema: z.ZodObject<{
220
237
  _url: string;
221
238
  category: number;
222
239
  privacy: number;
240
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
241
+ id: z.ZodType<number, z.ZodTypeDef, number>;
242
+ mainType: z.ZodType<string, z.ZodTypeDef, string>;
243
+ type: z.ZodType<string, z.ZodTypeDef, string>;
244
+ uri: z.ZodType<string, z.ZodTypeDef, string>;
245
+ dateCreation: z.ZodOptionalType<z.ZodType<string | undefined, z.ZodTypeDef, string | undefined>>;
246
+ dateModified: z.ZodOptionalType<z.ZodType<string | null | undefined, z.ZodTypeDef, string | null | undefined>>;
247
+ }, {
248
+ title: z.ZodString;
249
+ _url: z.ZodString;
250
+ }>, {
251
+ type: z.ZodEnum<["folder", "rootFolder"]>;
252
+ folderColor: z.ZodOptional<z.ZodString>;
253
+ }>, "strip", z.ZodTypeAny, {
254
+ type: "folder" | "rootFolder";
255
+ id: number;
256
+ mainType: string;
257
+ uri: string;
258
+ title: string;
259
+ _url: string;
260
+ dateCreation?: string | undefined;
261
+ dateModified?: string | null | undefined;
262
+ folderColor?: string | undefined;
263
+ }, {
264
+ type: "folder" | "rootFolder";
265
+ id: number;
266
+ mainType: string;
267
+ uri: string;
268
+ title: string;
269
+ _url: string;
270
+ dateCreation?: string | undefined;
271
+ dateModified?: string | null | undefined;
272
+ folderColor?: string | undefined;
223
273
  }>]>, "many">;
224
274
  _right: z.ZodObject<{
225
275
  create: z.ZodType<boolean, z.ZodTypeDef, boolean>;
@@ -249,6 +299,16 @@ export declare const shareAccessObjectSchema: z.ZodObject<{
249
299
  _url: string;
250
300
  category: number;
251
301
  privacy: number;
302
+ } | {
303
+ type: "folder" | "rootFolder";
304
+ id: number;
305
+ mainType: string;
306
+ uri: string;
307
+ title: string;
308
+ _url: string;
309
+ dateCreation?: string | undefined;
310
+ dateModified?: string | null | undefined;
311
+ folderColor?: string | undefined;
252
312
  })[];
253
313
  generalAccessRule: "link" | "invitation";
254
314
  generalAccessHash: string | null;
@@ -270,6 +330,16 @@ export declare const shareAccessObjectSchema: z.ZodObject<{
270
330
  _url: string;
271
331
  category: number;
272
332
  privacy: number;
333
+ } | {
334
+ type: "folder" | "rootFolder";
335
+ id: number;
336
+ mainType: string;
337
+ uri: string;
338
+ title: string;
339
+ _url: string;
340
+ dateCreation?: string | undefined;
341
+ dateModified?: string | null | undefined;
342
+ folderColor?: string | undefined;
273
343
  })[];
274
344
  generalAccessRule: "link" | "invitation";
275
345
  generalAccessHash: string | null;