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
@@ -38,6 +38,9 @@ export declare const widgetDatePickerValueSchema: z.ZodNullable<z.ZodString>;
38
38
  export declare const widgetActiveValueSchema: z.ZodNumber;
39
39
  export type WidgetAudience = {
40
40
  type: 'audience';
41
+ options?: {
42
+ disableEveryoneAudience?: boolean;
43
+ };
41
44
  };
42
45
  export type WidgetLink = {
43
46
  type: 'link';
@@ -7,21 +7,26 @@ export type jObjectList = jObjectLittle & {
7
7
  _user: jUserLittle;
8
8
  _right: Rights;
9
9
  };
10
- export declare const jObjectListSchema: z.ZodObject<{
11
- type: z.ZodType<string, z.ZodTypeDef, string>;
10
+ export declare const jObjectListSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
12
11
  id: z.ZodType<number, z.ZodTypeDef, number>;
13
12
  mainType: z.ZodType<string, z.ZodTypeDef, string>;
13
+ type: z.ZodType<string, z.ZodTypeDef, string>;
14
14
  uri: z.ZodType<string, z.ZodTypeDef, string>;
15
15
  dateCreation: z.ZodOptionalType<z.ZodType<string | undefined, z.ZodTypeDef, string | undefined>>;
16
16
  dateModified: z.ZodOptionalType<z.ZodType<string | null | undefined, z.ZodTypeDef, string | null | undefined>>;
17
+ }, {
17
18
  title: z.ZodString;
18
19
  _url: z.ZodString;
20
+ }>, {
19
21
  description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20
- _user: z.ZodObject<{
21
- type: z.ZodType<string, z.ZodTypeDef, string>;
22
+ _user: z.ZodObject<z.objectUtil.extendShape<{
22
23
  id: z.ZodType<number, z.ZodTypeDef, number>;
23
24
  mainType: z.ZodType<string, z.ZodTypeDef, string>;
25
+ type: z.ZodType<string, z.ZodTypeDef, string>;
24
26
  uri: z.ZodType<string, z.ZodTypeDef, string>;
27
+ dateCreation: z.ZodOptionalType<z.ZodType<string | undefined, z.ZodTypeDef, string | undefined>>;
28
+ dateModified: z.ZodOptionalType<z.ZodType<string | null | undefined, z.ZodTypeDef, string | null | undefined>>;
29
+ }, {
25
30
  title: z.ZodString;
26
31
  _url: z.ZodString;
27
32
  level: z.ZodNativeEnum<{
@@ -32,7 +37,7 @@ export declare const jObjectListSchema: z.ZodObject<{
32
37
  }>;
33
38
  dateCreation: z.ZodString;
34
39
  dateModified: z.ZodString;
35
- }, "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]>, jUserLittle, jUserLittle>;
40
+ }>, "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]>, jUserLittle, jUserLittle>;
36
41
  _right: z.ZodObject<{
37
42
  create: z.ZodType<boolean, z.ZodTypeDef, boolean>;
38
43
  read: z.ZodType<boolean, z.ZodTypeDef, boolean>;
@@ -43,13 +48,51 @@ export declare const jObjectListSchema: z.ZodObject<{
43
48
  comment: z.ZodType<boolean, z.ZodTypeDef, boolean>;
44
49
  member: z.ZodType<boolean, z.ZodTypeDef, boolean>;
45
50
  }, "strip", z.ZodTypeAny, Rights, Rights>;
46
- }, "strip", z.ZodTypeAny, jObjectList, jObjectList>;
51
+ }>, "strip", z.ZodTypeAny, jObjectList, jObjectList>;
47
52
  export declare const validateIsFormatObjectList: (object: object) => object is jObjectList;
48
- export declare const audienceSchema: z.ZodUnion<[z.ZodObject<{
53
+ export declare const jFolderLittleSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
54
+ id: z.ZodType<number, z.ZodTypeDef, number>;
55
+ mainType: z.ZodType<string, z.ZodTypeDef, string>;
49
56
  type: z.ZodType<string, z.ZodTypeDef, string>;
57
+ uri: z.ZodType<string, z.ZodTypeDef, string>;
58
+ dateCreation: z.ZodOptionalType<z.ZodType<string | undefined, z.ZodTypeDef, string | undefined>>;
59
+ dateModified: z.ZodOptionalType<z.ZodType<string | null | undefined, z.ZodTypeDef, string | null | undefined>>;
60
+ }, {
61
+ title: z.ZodString;
62
+ _url: z.ZodString;
63
+ }>, {
64
+ type: z.ZodEnum<["folder", "rootFolder"]>;
65
+ folderColor: z.ZodOptional<z.ZodString>;
66
+ }>, "strip", z.ZodTypeAny, {
67
+ type: "folder" | "rootFolder";
68
+ id: number;
69
+ mainType: string;
70
+ uri: string;
71
+ title: string;
72
+ _url: string;
73
+ dateCreation?: string | undefined;
74
+ dateModified?: string | null | undefined;
75
+ folderColor?: string | undefined;
76
+ }, {
77
+ type: "folder" | "rootFolder";
78
+ id: number;
79
+ mainType: string;
80
+ uri: string;
81
+ title: string;
82
+ _url: string;
83
+ dateCreation?: string | undefined;
84
+ dateModified?: string | null | undefined;
85
+ folderColor?: string | undefined;
86
+ }>;
87
+ export type jFolderLittle = z.infer<typeof jFolderLittleSchema>;
88
+ export declare const audienceSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
50
89
  id: z.ZodType<number, z.ZodTypeDef, number>;
51
90
  mainType: z.ZodType<string, z.ZodTypeDef, string>;
91
+ type: z.ZodType<string, z.ZodTypeDef, string>;
52
92
  uri: z.ZodType<string, z.ZodTypeDef, string>;
93
+ dateCreation: z.ZodOptionalType<z.ZodType<string | undefined, z.ZodTypeDef, string | undefined>>;
94
+ dateModified: z.ZodOptionalType<z.ZodType<string | null | undefined, z.ZodTypeDef, string | null | undefined>>;
95
+ }, {
53
96
  title: z.ZodString;
54
97
  _url: z.ZodString;
55
98
  level: z.ZodNativeEnum<{
@@ -60,18 +103,22 @@ export declare const audienceSchema: z.ZodUnion<[z.ZodObject<{
60
103
  }>;
61
104
  dateCreation: z.ZodString;
62
105
  dateModified: z.ZodString;
63
- }, "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]>, jUserLittle, jUserLittle>, z.ZodObject<{
64
- type: z.ZodType<string, z.ZodTypeDef, string>;
106
+ }>, "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]>, jUserLittle, jUserLittle>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
65
107
  id: z.ZodType<number, z.ZodTypeDef, number>;
66
108
  mainType: z.ZodType<string, z.ZodTypeDef, string>;
109
+ type: z.ZodType<string, z.ZodTypeDef, string>;
67
110
  uri: z.ZodType<string, z.ZodTypeDef, string>;
111
+ dateCreation: z.ZodOptionalType<z.ZodType<string | undefined, z.ZodTypeDef, string | undefined>>;
112
+ dateModified: z.ZodOptionalType<z.ZodType<string | null | undefined, z.ZodTypeDef, string | null | undefined>>;
113
+ }, {
68
114
  title: z.ZodString;
69
115
  _url: z.ZodString;
116
+ }>, {
70
117
  dateCreation: z.ZodString;
71
118
  dateModified: z.ZodString;
72
119
  category: z.ZodNumber;
73
120
  privacy: z.ZodNumber;
74
- }, "strip", z.ZodTypeAny, {
121
+ }>, "strip", z.ZodTypeAny, {
75
122
  type: string;
76
123
  id: number;
77
124
  mainType: string;
@@ -93,6 +140,39 @@ export declare const audienceSchema: z.ZodUnion<[z.ZodObject<{
93
140
  _url: string;
94
141
  category: number;
95
142
  privacy: number;
143
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
144
+ id: z.ZodType<number, z.ZodTypeDef, number>;
145
+ mainType: z.ZodType<string, z.ZodTypeDef, string>;
146
+ type: z.ZodType<string, z.ZodTypeDef, string>;
147
+ uri: z.ZodType<string, z.ZodTypeDef, string>;
148
+ dateCreation: z.ZodOptionalType<z.ZodType<string | undefined, z.ZodTypeDef, string | undefined>>;
149
+ dateModified: z.ZodOptionalType<z.ZodType<string | null | undefined, z.ZodTypeDef, string | null | undefined>>;
150
+ }, {
151
+ title: z.ZodString;
152
+ _url: z.ZodString;
153
+ }>, {
154
+ type: z.ZodEnum<["folder", "rootFolder"]>;
155
+ folderColor: z.ZodOptional<z.ZodString>;
156
+ }>, "strip", z.ZodTypeAny, {
157
+ type: "folder" | "rootFolder";
158
+ id: number;
159
+ mainType: string;
160
+ uri: string;
161
+ title: string;
162
+ _url: string;
163
+ dateCreation?: string | undefined;
164
+ dateModified?: string | null | undefined;
165
+ folderColor?: string | undefined;
166
+ }, {
167
+ type: "folder" | "rootFolder";
168
+ id: number;
169
+ mainType: string;
170
+ uri: string;
171
+ title: string;
172
+ _url: string;
173
+ dateCreation?: string | undefined;
174
+ dateModified?: string | null | undefined;
175
+ folderColor?: string | undefined;
96
176
  }>]>;
97
177
  export type Audience = z.infer<typeof audienceSchema>;
98
178
  export type MaybeWithParent<T extends jObjectBase = jObjectBase> = {
@@ -19,14 +19,15 @@ export type jObjectLittle = jObjectBase & {
19
19
  title: string;
20
20
  _url: string;
21
21
  };
22
- export declare const jObjectLittleSchema: z.ZodObject<{
23
- type: z.ZodType<string, z.ZodTypeDef, string>;
22
+ export declare const jObjectLittleSchema: z.ZodObject<z.objectUtil.extendShape<{
24
23
  id: z.ZodType<number, z.ZodTypeDef, number>;
25
24
  mainType: z.ZodType<string, z.ZodTypeDef, string>;
25
+ type: z.ZodType<string, z.ZodTypeDef, string>;
26
26
  uri: z.ZodType<string, z.ZodTypeDef, string>;
27
27
  dateCreation: z.ZodOptionalType<z.ZodType<string | undefined, z.ZodTypeDef, string | undefined>>;
28
28
  dateModified: z.ZodOptionalType<z.ZodType<string | null | undefined, z.ZodTypeDef, string | null | undefined>>;
29
+ }, {
29
30
  title: z.ZodString;
30
31
  _url: z.ZodString;
31
- }, "strip", z.ZodTypeAny, jObjectLittle, jObjectLittle>;
32
+ }>, "strip", z.ZodTypeAny, jObjectLittle, jObjectLittle>;
32
33
  export declare const validateIsFormatObjectLittle: (object: object) => object is jObjectLittle;