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
@@ -1,19 +1,24 @@
1
1
  import { z } from 'zod';
2
- export declare const jDiapazoneListSchema: z.ZodObject<{
3
- type: z.ZodType<string, z.ZodTypeDef, string>;
2
+ export declare const jDiapazoneListSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
4
3
  id: z.ZodType<number, z.ZodTypeDef, number>;
5
4
  mainType: z.ZodType<string, z.ZodTypeDef, string>;
5
+ type: z.ZodType<string, z.ZodTypeDef, string>;
6
6
  uri: z.ZodType<string, z.ZodTypeDef, string>;
7
7
  dateCreation: z.ZodOptionalType<z.ZodType<string | undefined, z.ZodTypeDef, string | undefined>>;
8
8
  dateModified: z.ZodOptionalType<z.ZodType<string | null | undefined, z.ZodTypeDef, string | null | undefined>>;
9
+ }, {
9
10
  title: z.ZodString;
10
11
  _url: z.ZodString;
12
+ }>, {
11
13
  description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
12
- _user: z.ZodObject<{
13
- type: z.ZodType<string, z.ZodTypeDef, string>;
14
+ _user: z.ZodObject<z.objectUtil.extendShape<{
14
15
  id: z.ZodType<number, z.ZodTypeDef, number>;
15
16
  mainType: z.ZodType<string, z.ZodTypeDef, string>;
17
+ type: z.ZodType<string, z.ZodTypeDef, string>;
16
18
  uri: z.ZodType<string, z.ZodTypeDef, string>;
19
+ dateCreation: z.ZodOptionalType<z.ZodType<string | undefined, z.ZodTypeDef, string | undefined>>;
20
+ dateModified: z.ZodOptionalType<z.ZodType<string | null | undefined, z.ZodTypeDef, string | null | undefined>>;
21
+ }, {
17
22
  title: z.ZodString;
18
23
  _url: z.ZodString;
19
24
  level: z.ZodNativeEnum<{
@@ -24,7 +29,7 @@ export declare const jDiapazoneListSchema: z.ZodObject<{
24
29
  }>;
25
30
  dateCreation: z.ZodString;
26
31
  dateModified: z.ZodString;
27
- }, "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>;
32
+ }>, "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>;
28
33
  _right: z.ZodObject<{
29
34
  create: z.ZodType<boolean, z.ZodTypeDef, boolean>;
30
35
  read: z.ZodType<boolean, z.ZodTypeDef, boolean>;
@@ -35,6 +40,7 @@ export declare const jDiapazoneListSchema: z.ZodObject<{
35
40
  comment: z.ZodType<boolean, z.ZodTypeDef, boolean>;
36
41
  member: z.ZodType<boolean, z.ZodTypeDef, boolean>;
37
42
  }, "strip", z.ZodTypeAny, import("./common").Rights, import("./common").Rights>;
43
+ }>, {
38
44
  dateStart: z.ZodString;
39
45
  animatedMeetingContent: z.ZodRecord<z.ZodString, z.ZodUnknown>;
40
46
  _extend: z.ZodObject<{
@@ -50,11 +56,14 @@ export declare const jDiapazoneListSchema: z.ZodObject<{
50
56
  date: string;
51
57
  statusValue: 2 | 1 | 3;
52
58
  }>;
53
- _audience: z.ZodArray<z.ZodUnion<[z.ZodObject<{
54
- type: z.ZodType<string, z.ZodTypeDef, string>;
59
+ _audience: z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
55
60
  id: z.ZodType<number, z.ZodTypeDef, number>;
56
61
  mainType: z.ZodType<string, z.ZodTypeDef, string>;
62
+ type: z.ZodType<string, z.ZodTypeDef, string>;
57
63
  uri: z.ZodType<string, z.ZodTypeDef, string>;
64
+ dateCreation: z.ZodOptionalType<z.ZodType<string | undefined, z.ZodTypeDef, string | undefined>>;
65
+ dateModified: z.ZodOptionalType<z.ZodType<string | null | undefined, z.ZodTypeDef, string | null | undefined>>;
66
+ }, {
58
67
  title: z.ZodString;
59
68
  _url: z.ZodString;
60
69
  level: z.ZodNativeEnum<{
@@ -65,18 +74,22 @@ export declare const jDiapazoneListSchema: z.ZodObject<{
65
74
  }>;
66
75
  dateCreation: z.ZodString;
67
76
  dateModified: z.ZodString;
68
- }, "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<{
69
- type: z.ZodType<string, z.ZodTypeDef, string>;
77
+ }>, "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<{
70
78
  id: z.ZodType<number, z.ZodTypeDef, number>;
71
79
  mainType: z.ZodType<string, z.ZodTypeDef, string>;
80
+ type: z.ZodType<string, z.ZodTypeDef, string>;
72
81
  uri: z.ZodType<string, z.ZodTypeDef, string>;
82
+ dateCreation: z.ZodOptionalType<z.ZodType<string | undefined, z.ZodTypeDef, string | undefined>>;
83
+ dateModified: z.ZodOptionalType<z.ZodType<string | null | undefined, z.ZodTypeDef, string | null | undefined>>;
84
+ }, {
73
85
  title: z.ZodString;
74
86
  _url: z.ZodString;
87
+ }>, {
75
88
  dateCreation: z.ZodString;
76
89
  dateModified: z.ZodString;
77
90
  category: z.ZodNumber;
78
91
  privacy: z.ZodNumber;
79
- }, "strip", z.ZodTypeAny, {
92
+ }>, "strip", z.ZodTypeAny, {
80
93
  type: string;
81
94
  id: number;
82
95
  mainType: string;
@@ -98,9 +111,42 @@ export declare const jDiapazoneListSchema: z.ZodObject<{
98
111
  _url: string;
99
112
  category: number;
100
113
  privacy: number;
114
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
115
+ id: z.ZodType<number, z.ZodTypeDef, number>;
116
+ mainType: z.ZodType<string, z.ZodTypeDef, string>;
117
+ type: z.ZodType<string, z.ZodTypeDef, string>;
118
+ uri: z.ZodType<string, z.ZodTypeDef, string>;
119
+ dateCreation: z.ZodOptionalType<z.ZodType<string | undefined, z.ZodTypeDef, string | undefined>>;
120
+ dateModified: z.ZodOptionalType<z.ZodType<string | null | undefined, z.ZodTypeDef, string | null | undefined>>;
121
+ }, {
122
+ title: z.ZodString;
123
+ _url: z.ZodString;
124
+ }>, {
125
+ type: z.ZodEnum<["folder", "rootFolder"]>;
126
+ folderColor: z.ZodOptional<z.ZodString>;
127
+ }>, "strip", z.ZodTypeAny, {
128
+ type: "folder" | "rootFolder";
129
+ id: number;
130
+ mainType: string;
131
+ uri: string;
132
+ title: string;
133
+ _url: string;
134
+ dateCreation?: string | undefined;
135
+ dateModified?: string | null | undefined;
136
+ folderColor?: string | undefined;
137
+ }, {
138
+ type: "folder" | "rootFolder";
139
+ id: number;
140
+ mainType: string;
141
+ uri: string;
142
+ title: string;
143
+ _url: string;
144
+ dateCreation?: string | undefined;
145
+ dateModified?: string | null | undefined;
146
+ folderColor?: string | undefined;
101
147
  }>]>, "many">;
102
148
  _audienceLeft: z.ZodNumber;
103
- }, "strip", z.ZodTypeAny, {
149
+ }>, "strip", z.ZodTypeAny, {
104
150
  type: string;
105
151
  id: number;
106
152
  mainType: string;
@@ -134,6 +180,16 @@ export declare const jDiapazoneListSchema: z.ZodObject<{
134
180
  _url: string;
135
181
  category: number;
136
182
  privacy: number;
183
+ } | {
184
+ type: "folder" | "rootFolder";
185
+ id: number;
186
+ mainType: string;
187
+ uri: string;
188
+ title: string;
189
+ _url: string;
190
+ dateCreation?: string | undefined;
191
+ dateModified?: string | null | undefined;
192
+ folderColor?: string | undefined;
137
193
  })[];
138
194
  animatedMeetingContent: Record<string, unknown>;
139
195
  _audienceLeft: number;
@@ -174,6 +230,16 @@ export declare const jDiapazoneListSchema: z.ZodObject<{
174
230
  _url: string;
175
231
  category: number;
176
232
  privacy: number;
233
+ } | {
234
+ type: "folder" | "rootFolder";
235
+ id: number;
236
+ mainType: string;
237
+ uri: string;
238
+ title: string;
239
+ _url: string;
240
+ dateCreation?: string | undefined;
241
+ dateModified?: string | null | undefined;
242
+ folderColor?: string | undefined;
177
243
  })[];
178
244
  animatedMeetingContent: Record<string, unknown>;
179
245
  _audienceLeft: number;
@@ -15,11 +15,13 @@ export declare const msBaseEntitySchema: z.ZodObject<{
15
15
  title: string;
16
16
  }>;
17
17
  export type MSBaseEntity = z.infer<typeof msBaseEntitySchema>;
18
- export declare const msTenantEntitySchema: z.ZodObject<{
19
- type: z.ZodString;
18
+ export declare const msTenantEntitySchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
20
19
  title: z.ZodString;
20
+ id: z.ZodString;
21
+ type: z.ZodString;
22
+ }, "id">, {
21
23
  name: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"groups">, z.ZodLiteral<"sites">, z.ZodLiteral<"onedrive">, z.ZodLiteral<"group">, z.ZodLiteral<"documents">]>>;
22
- }, "strip", z.ZodTypeAny, {
24
+ }>, "strip", z.ZodTypeAny, {
23
25
  type: string;
24
26
  title: string;
25
27
  name?: "groups" | "sites" | "onedrive" | "group" | "documents" | undefined;
@@ -43,12 +45,13 @@ export declare const msSiteEntitySchema: z.ZodIntersection<z.ZodObject<{
43
45
  title: string;
44
46
  }>, z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
45
47
  export type MSSiteEntity = z.infer<typeof msSiteEntitySchema>;
46
- export declare const msGroupEntitySchema: z.ZodObject<{
47
- type: z.ZodString;
48
- id: z.ZodString;
48
+ export declare const msGroupEntitySchema: z.ZodObject<z.objectUtil.extendShape<{
49
49
  title: z.ZodString;
50
+ id: z.ZodString;
51
+ type: z.ZodString;
52
+ }, {
50
53
  visibility: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"public">, z.ZodLiteral<"private">]>>;
51
- }, "strip", z.ZodTypeAny, {
54
+ }>, "strip", z.ZodTypeAny, {
52
55
  type: string;
53
56
  id: string;
54
57
  title: string;
@@ -60,13 +63,14 @@ export declare const msGroupEntitySchema: z.ZodObject<{
60
63
  visibility?: "public" | "private" | undefined;
61
64
  }>;
62
65
  export type MSGroupEntity = z.infer<typeof msGroupEntitySchema>;
63
- export declare const msDocumentEntitySchema: z.ZodObject<{
64
- type: z.ZodString;
65
- id: z.ZodString;
66
+ export declare const msDocumentEntitySchema: z.ZodObject<z.objectUtil.extendShape<{
66
67
  title: z.ZodString;
68
+ id: z.ZodString;
69
+ type: z.ZodString;
70
+ }, {
67
71
  mimetype: z.ZodOptional<z.ZodString>;
68
72
  webUrl: z.ZodOptional<z.ZodString>;
69
- }, "strip", z.ZodTypeAny, {
73
+ }>, "strip", z.ZodTypeAny, {
70
74
  type: string;
71
75
  id: string;
72
76
  title: string;
@@ -80,12 +84,13 @@ export declare const msDocumentEntitySchema: z.ZodObject<{
80
84
  webUrl?: string | undefined;
81
85
  }>;
82
86
  export type MSDocumentEntity = z.infer<typeof msDocumentEntitySchema>;
83
- export declare const msUnifiedEntitySchema: z.ZodIntersection<z.ZodObject<{
84
- type: z.ZodString;
85
- id: z.ZodString;
87
+ export declare const msUnifiedEntitySchema: z.ZodIntersection<z.ZodObject<z.objectUtil.extendShape<{
86
88
  title: z.ZodString;
89
+ id: z.ZodString;
90
+ type: z.ZodString;
91
+ }, {
87
92
  visibility: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"public">, z.ZodLiteral<"private">]>>;
88
- }, "strip", z.ZodTypeAny, {
93
+ }>, "strip", z.ZodTypeAny, {
89
94
  type: string;
90
95
  id: string;
91
96
  title: string;
@@ -95,13 +100,14 @@ export declare const msUnifiedEntitySchema: z.ZodIntersection<z.ZodObject<{
95
100
  id: string;
96
101
  title: string;
97
102
  visibility?: "public" | "private" | undefined;
98
- }>, z.ZodObject<{
99
- type: z.ZodString;
100
- id: z.ZodString;
103
+ }>, z.ZodObject<z.objectUtil.extendShape<{
101
104
  title: z.ZodString;
105
+ id: z.ZodString;
106
+ type: z.ZodString;
107
+ }, {
102
108
  mimetype: z.ZodOptional<z.ZodString>;
103
109
  webUrl: z.ZodOptional<z.ZodString>;
104
- }, "strip", z.ZodTypeAny, {
110
+ }>, "strip", z.ZodTypeAny, {
105
111
  type: string;
106
112
  id: string;
107
113
  title: string;
@@ -162,16 +168,16 @@ export declare const driveDocumentParamsSchema: z.ZodObject<{
162
168
  }, "strip", z.ZodTypeAny, {
163
169
  limit: number;
164
170
  page: number;
171
+ query?: string | null | undefined;
165
172
  msTenant?: "groups" | "sites" | "onedrive" | "group" | "documents" | undefined;
166
173
  msId?: string | undefined;
167
174
  idFolder?: string | undefined;
168
- query?: string | null | undefined;
169
175
  }, {
170
176
  limit: number;
171
177
  page: number;
178
+ query?: string | null | undefined;
172
179
  msTenant?: "groups" | "sites" | "onedrive" | "group" | "documents" | undefined;
173
180
  msId?: string | undefined;
174
181
  idFolder?: string | undefined;
175
- query?: string | null | undefined;
176
182
  }>;
177
183
  export type DriveDocumentParams = z.infer<typeof driveDocumentParamsSchema>;