jamespot-user-api 1.0.147 → 1.0.148

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 (92) hide show
  1. package/documentation/assets/search.js +1 -1
  2. package/documentation/classes/AdminLicenseApi.html +11 -11
  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/JBookmarkApi.html +1 -1
  11. package/documentation/classes/JBusinessNetworkingApi.html +1 -1
  12. package/documentation/classes/JCommunityApi.html +1 -1
  13. package/documentation/classes/JDiapazoneApi.html +1 -1
  14. package/documentation/classes/JFaqApi.html +1 -1
  15. package/documentation/classes/JFileApi.html +5 -5
  16. package/documentation/classes/JFilebankApi.html +1 -1
  17. package/documentation/classes/JGlobalApi.html +1 -1
  18. package/documentation/classes/JGroupApi.html +9 -9
  19. package/documentation/classes/JIAApi.html +1 -1
  20. package/documentation/classes/JLandApi.html +1 -1
  21. package/documentation/classes/JMessengerApi.html +1 -1
  22. package/documentation/classes/JObjectApi.html +1 -1
  23. package/documentation/classes/JSearchApi.html +6 -6
  24. package/documentation/classes/JShareApi.html +1 -1
  25. package/documentation/classes/JSocialActionApi.html +1 -1
  26. package/documentation/classes/JTaxonomyApi.html +2 -2
  27. package/documentation/classes/JUserApi.html +7 -7
  28. package/documentation/classes/JWedocApi.html +1 -1
  29. package/documentation/classes/JWidgetApi.html +1 -1
  30. package/documentation/classes/JamespotUserApi.html +1 -1
  31. package/documentation/classes/Network.html +1 -1
  32. package/documentation/classes/TVDisplayApi.html +1 -1
  33. package/documentation/classes/WindowBrowser.html +1 -1
  34. package/documentation/enums/StudioApplicationStatus.html +1 -1
  35. package/documentation/index.html +1 -1
  36. package/documentation/interfaces/AccessRightObject.html +1 -1
  37. package/documentation/interfaces/AdminLicenseUser.html +1 -1
  38. package/documentation/interfaces/ApiDefaultWrapper.html +1 -1
  39. package/documentation/interfaces/ApiWrapper.html +1 -1
  40. package/documentation/interfaces/BaseAutocomplete.html +1 -1
  41. package/documentation/interfaces/BaseMessage.html +1 -1
  42. package/documentation/interfaces/Category.html +1 -1
  43. package/documentation/interfaces/FileBankProps.html +1 -1
  44. package/documentation/interfaces/FolderProps.html +1 -1
  45. package/documentation/interfaces/ListFilterSpec.html +1 -1
  46. package/documentation/interfaces/OF.html +1 -1
  47. package/documentation/interfaces/ObjectListProps.html +1 -1
  48. package/documentation/interfaces/PagingResults.html +1 -1
  49. package/documentation/interfaces/RootFolderProps.html +1 -1
  50. package/documentation/interfaces/SearchCategoryModel.html +1 -1
  51. package/documentation/interfaces/SearchCategoryValue.html +1 -1
  52. package/documentation/interfaces/SearchConfig.html +1 -1
  53. package/documentation/interfaces/SearchFacetModel.html +1 -1
  54. package/documentation/interfaces/SearchFacetValueModel.html +1 -1
  55. package/documentation/interfaces/SearchQuery.html +1 -1
  56. package/documentation/interfaces/SearchQueryFilterModel.html +1 -1
  57. package/documentation/interfaces/SearchQueryOption.html +1 -1
  58. package/documentation/interfaces/SearchQueryResult.html +1 -1
  59. package/documentation/interfaces/SearchQuerySortModel.html +1 -1
  60. package/documentation/interfaces/SearchResultCatProps.html +1 -1
  61. package/documentation/interfaces/SearchResultPropsApp.html +1 -1
  62. package/documentation/interfaces/SearchResultPropsObject.html +1 -1
  63. package/documentation/interfaces/SpotProps.html +1 -1
  64. package/documentation/interfaces/Taxonomy.html +1 -1
  65. package/documentation/interfaces/TaxonomyCreate.html +1 -1
  66. package/documentation/interfaces/WindowInterface.html +1 -1
  67. package/documentation/modules.html +12 -12
  68. package/lib/src/apis/article/article.mock.d.ts +20 -2
  69. package/lib/src/apis/bookmark/bookmark.d.ts +1 -1
  70. package/lib/src/types/meeting.d.ts +12 -0
  71. package/lib/src/types/model.d.ts +1 -1
  72. package/lib/src/types/pollSurvey.d.ts +27 -0
  73. package/lib/src/types/quizz.d.ts +15 -0
  74. package/lib/src/types/socialEvent.d.ts +17 -0
  75. package/lib/src/types/support.d.ts +8 -0
  76. package/lib/src/types/surveyDate.d.ts +9 -0
  77. package/lib/src/types/utils.d.ts +6 -0
  78. package/lib/src/util/Test.d.ts +1 -1
  79. package/package.json +1 -1
  80. package/phpunitMock/articleGet-meeting-list.json +55 -0
  81. package/phpunitMock/articleGet-meeting-view.json +64 -0
  82. package/phpunitMock/articleGet-pollSurvey-list.json +62 -0
  83. package/phpunitMock/articleGet-pollSurvey-view.json +71 -0
  84. package/phpunitMock/articleGet-quizz-list.json +42 -0
  85. package/phpunitMock/articleGet-quizz-view.json +49 -0
  86. package/phpunitMock/articleGet-socialEvent-list.json +57 -0
  87. package/phpunitMock/articleGet-socialEvent-view.json +66 -0
  88. package/phpunitMock/articleGet-support-list.json +42 -0
  89. package/phpunitMock/articleGet-support-view.json +55 -0
  90. package/phpunitMock/articleGet-surveyDate-list.json +54 -0
  91. package/phpunitMock/articleGet-surveyDate-view.json +56 -0
  92. package/phpunitMock/tvDisplayGetConfigureChannel-dynamic.json +2 -0
@@ -1,8 +1,26 @@
1
- import { ApiWrapper, BaseMessages, PagingResults, jArticleList, jArticleLittle, jArticleView, jArticleWidgetLittle, jFileLittle, ApiDefaultWrapper } from '../../types';
1
+ import { ApiWrapper, BaseMessages, PagingResults, jArticleExtendView, jArticleList, jArticleLittle, jArticleView, jArticleWidgetLittle, jFileLittle, ApiDefaultWrapper } from '../../types';
2
2
  import { jCommentList } from '../../types/comment';
3
+ import { jMeetingList, jMeetingView } from '../../types/meeting';
4
+ import { jPollSurveyList, jPollSurveyView } from '../../types/pollSurvey';
5
+ import { jQuizzList, jQuizzView } from '../../types/quizz';
6
+ import { jSocialEventList, jSocialEventView } from '../../types/socialEvent';
7
+ import { jSupportList, jSupportView } from '../../types/support';
8
+ import { jSurveyDateList, jSurveyDateView } from '../../types/surveyDate';
3
9
  export declare const articleGetMpArticleList: ApiWrapper<jArticleList, BaseMessages>;
4
10
  export declare const articleCreateMpArticleLittle: ApiWrapper<Array<jArticleLittle>, BaseMessages>;
5
- export declare const articleUpdateMpArticleView: ApiWrapper<jArticleView, BaseMessages>;
11
+ export declare const articleGetMeetingList: ApiWrapper<jMeetingList>;
12
+ export declare const articleGetMeetingView: ApiWrapper<jMeetingView & jArticleExtendView>;
13
+ export declare const articleGetPollSurveyList: ApiWrapper<jPollSurveyList>;
14
+ export declare const articleGetPollSurveyView: ApiWrapper<jPollSurveyView & jArticleExtendView>;
15
+ export declare const articleGetQuizzList: ApiWrapper<jQuizzList>;
16
+ export declare const articleGetQuizzView: ApiWrapper<jQuizzView & jArticleExtendView>;
17
+ export declare const articleGetSocialEventList: ApiWrapper<jSocialEventList>;
18
+ export declare const articleGetSocialEventView: ApiWrapper<jSocialEventView & jArticleExtendView>;
19
+ export declare const articleGetSupportList: ApiWrapper<jSupportList>;
20
+ export declare const articleGetSupportView: ApiWrapper<jSupportView & jArticleExtendView>;
21
+ export declare const articleGetSurveyDateList: ApiWrapper<jSurveyDateList>;
22
+ export declare const articleGetSurveyDateView: ApiWrapper<jSurveyDateView & jArticleExtendView>;
23
+ export declare const articleUpdateMpArticleView: ApiWrapper<jArticleView & jArticleExtendView, BaseMessages>;
6
24
  export declare const articleCountMpArticle: ApiWrapper<number>;
7
25
  export declare const articleWithWidget: ApiWrapper<jArticleWidgetLittle>;
8
26
  export declare const objectListJamespotArticleQueryList: ApiWrapper<PagingResults<jArticleLittle>>;
@@ -10,7 +10,7 @@ export interface ListFilterSpec {
10
10
  export declare class JBookmarkApi extends JBaseApi {
11
11
  getFormattedList<T extends keyof BookmarkTypes>(filterSpecs: ListFilterSpec, format: T): Promise<ApiWrapper<PagingResults<BookmarkTypes[T]>, import("../../types").BaseMessages>>;
12
12
  addFormattedLink<T extends keyof BookmarkTypes>(targetId: number, targetType: string, format: T): Promise<ApiWrapper<BookmarkTypes[T], import("../../types").BaseMessages>>;
13
- addBookmark(bookmark: Pick<BookmarkTypes[keyof BookmarkTypes], 'bookmarkLabel' | 'bookmarkMeta' | 'bookmarkUrl'>, format?: keyof BookmarkTypes): Promise<ApiWrapper<import("../../types").BookmarkRawList<import("../../types").jObjectLittle | import("../../types").jUserLittle> | import("../../types").BookmarkList<import("../../types").jObjectLittle>, BaseMessagesOne>>;
13
+ addBookmark(bookmark: Pick<BookmarkTypes[keyof BookmarkTypes], 'bookmarkLabel' | 'bookmarkMeta' | 'bookmarkUrl'>, format?: keyof BookmarkTypes): Promise<ApiWrapper<import("../../types").BookmarkList<import("../../types").jObjectLittle> | import("../../types").BookmarkRawList<import("../../types").jObjectLittle | import("../../types").jUserLittle>, BaseMessagesOne>>;
14
14
  delete(bookmarkId: number): Promise<ApiWrapper<null, BaseMessagesOne>>;
15
15
  rename(bookmarkID: number, bookmarkLabel: string, bookmarkUrl?: string): Promise<ApiWrapper<null, BaseMessagesOne>>;
16
16
  move(bookmarkID: number, bookmarkReference: number, position: 'before' | 'after'): Promise<ApiWrapper<null, BaseMessagesOne>>;
@@ -0,0 +1,12 @@
1
+ import { jSocialEventList } from './socialEvent';
2
+ import { jArticleView } from './utils';
3
+ export type jMeetingList = jSocialEventList & {};
4
+ export type jMeetingView = jArticleView & jMeetingList & {
5
+ allDay: null;
6
+ agenda: string;
7
+ useQrcode: null;
8
+ textColor: string;
9
+ bgColor: string;
10
+ report: string;
11
+ reportFile: [];
12
+ };
@@ -108,7 +108,7 @@ export type WidgetUri = {
108
108
  type: string;
109
109
  };
110
110
  };
111
- export type Widget = WidgetText | WidgetTextarea | WidgetNumber | WidgetDate | WidgetDatetime | WidgetDatePicker | WidgetSelect | WidgetEmail | WidgetUrl | WidgetRefUser | WidgetRadio | WidgetCheckbox | WidgetOrientedlinks | WidgetTaxonomy | WidgetUri | WidgetTransient | WidgetMultiattribute | WidgetFile;
111
+ export type Widget = WidgetText | WidgetTextarea | WidgetNumber | WidgetDate | WidgetDatetime | WidgetDatePicker | WidgetSelect | WidgetEmail | WidgetUrl | WidgetRefUser | WidgetRadio | WidgetCheckbox | WidgetOrientedlinks | WidgetTaxonomy | WidgetUri | WidgetTransient | WidgetMultiattribute | WidgetTel | WidgetPlace | WidgetColor | WidgetLink | WidgetFile;
112
112
  export type WidgetsValue = WidgetActiveValue | WidgetDatePickerValue | WidgetDatetimeValue | WidgetDateValue | WidgetEmailValue | WidgetNumberValue | WidgetTextareaValue | WidgetTextValue | WidgetUrlValue;
113
113
  export type FieldConfiguration<T extends string = string> = {
114
114
  label: string;
@@ -0,0 +1,27 @@
1
+ import { jArticleList, jArticleView } from './utils';
2
+ export type jPollSurveyList = jArticleList & {
3
+ anonymousResponse: null;
4
+ multipleResponse: number;
5
+ publicResults: null;
6
+ pollProgression: {
7
+ colors: Record<string, string>;
8
+ maxRespondentsValue: number;
9
+ countRespondentsValue: number;
10
+ };
11
+ pollResponseShowProgression: number;
12
+ dateEnd: string;
13
+ status: {
14
+ name: string;
15
+ value: number;
16
+ };
17
+ };
18
+ export type jPollSurveyView = jArticleView & jPollSurveyList & {
19
+ pollContent: null;
20
+ pollLinks: null;
21
+ pollForceClose: null;
22
+ pollResponseUserVisibility: null;
23
+ pollResponseAuthorVisibility: null;
24
+ pollResponseShowRespondent: null;
25
+ pollBanner: [];
26
+ pollMessage: string;
27
+ };
@@ -0,0 +1,15 @@
1
+ import { jArticleList, jArticleView } from './utils';
2
+ export type jQuizzList = jArticleList & {
3
+ quizzDescription: string | null;
4
+ quizzClosingDate: string | null;
5
+ dateStart: string | null;
6
+ dateEnd: string | null;
7
+ };
8
+ export type jQuizzView = jArticleView & jQuizzList & {
9
+ quizzInvitation: null;
10
+ quizzFormSpec: string;
11
+ quizzRandom: null;
12
+ quizzHideResponses: null;
13
+ quizzStatus: null;
14
+ quizzPublicationDate: string | null;
15
+ };
@@ -0,0 +1,17 @@
1
+ import { jArticleList, jArticleView } from './utils';
2
+ export type jSocialEventList = jArticleList & {
3
+ place: string;
4
+ address: string;
5
+ dateStart: string;
6
+ dateEnd: string;
7
+ noGestion: null;
8
+ };
9
+ export type jSocialEventView = jArticleView & jSocialEventList & {
10
+ allDay: null;
11
+ useQrcode: null;
12
+ textColor: string;
13
+ bgColor: string;
14
+ socialEventUseCeiling: null;
15
+ socialEventCeiling: null;
16
+ hideFromCalendar: null;
17
+ };
@@ -0,0 +1,8 @@
1
+ import { jUserLittle } from './user';
2
+ import { jArticleList, jArticleView } from './utils';
3
+ export type jSupportList = jArticleList & {
4
+ supportStatus: number | string | null;
5
+ supportType: number | string | null;
6
+ supportOwner: jUserLittle[];
7
+ };
8
+ export type jSupportView = jArticleView & jSupportList & {};
@@ -0,0 +1,9 @@
1
+ import { jArticleList, jArticleLittle, jArticleView } from './utils';
2
+ export type jSurveyDateList = jArticleList & {
3
+ dates: string[];
4
+ dateStart: string | null;
5
+ dateEnd: string;
6
+ };
7
+ export type jSurveyDateView = jArticleView & jSurveyDateList & {
8
+ surveyObjectLink: jArticleLittle[];
9
+ };
@@ -1,6 +1,7 @@
1
1
  import { ImageSize } from './file';
2
2
  import { GroupLittle } from './group';
3
3
  import { jUserLittle } from './user';
4
+ import { WidgetWrapperProps } from './widgets';
4
5
  /**
5
6
  * Ease usage in IDE by decomposing complex types
6
7
  * Decompose combined types into simple object types
@@ -103,8 +104,13 @@ export type jArticleList = jArticleLittle & {
103
104
  _right: Rights;
104
105
  _audience: Audience[];
105
106
  image?: ImageSize;
107
+ articleWidgets?: WidgetWrapperProps[];
106
108
  };
107
109
  export type jArticleView = jArticleList & {};
110
+ export type jArticleExtendView = {
111
+ processContext?: null;
112
+ uiObjectLink?: jObjectLittle[];
113
+ };
108
114
  export type Order = {
109
115
  name: string;
110
116
  sort: 'ASC' | 'DESC';
@@ -116,7 +116,7 @@ export declare const arrayRights: ({
116
116
  t: string;
117
117
  })[];
118
118
  export declare const fetchMock: <T>(data: T) => jest.Mock<Promise<FetchResponseType<T>>, []>;
119
- export declare const validateJArticle: <T extends jArticleLittle>(received: T, expected: T) => void;
119
+ export declare const validateJArticle: <T extends jArticleLittle>(received: T, expected: T, excludeFields?: string[]) => void;
120
120
  export declare const validateApiWrapper: <T extends ApiDefaultWrapper<import("../types").BaseMessages>>(res: T, o: string, f: string, error?: null) => void;
121
121
  export declare const validatePagingResults: <T>(res: PagingResults<T>) => void;
122
122
  export declare const validateObject: <T extends {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jamespot-user-api",
3
- "version": "1.0.147",
3
+ "version": "1.0.148",
4
4
  "main": "lib/jamespot-user-api.js",
5
5
  "types": "lib/src/index.d.ts",
6
6
  "directories": {
@@ -0,0 +1,55 @@
1
+ {
2
+ "o": "article",
3
+ "f": "get",
4
+ "error": 0,
5
+ "messages": [],
6
+ "result": {
7
+ "id": 432,
8
+ "mainType": "article",
9
+ "type": "meeting",
10
+ "uri": "meeting/432",
11
+ "dateCreation": "2024-01-26 11:03:59",
12
+ "dateModified": "2024-01-26 11:03:59",
13
+ "title": "Test meeting notifications (live - 1706263439)",
14
+ "_url": "/article/432",
15
+ "_right": {
16
+ "create": true,
17
+ "read": true,
18
+ "publish": false,
19
+ "administrate": true,
20
+ "update": true,
21
+ "delete": true,
22
+ "comment": true,
23
+ "member": true
24
+ },
25
+ "_user": {
26
+ "id": 1,
27
+ "mainType": "user",
28
+ "type": "user",
29
+ "uri": "user/1",
30
+ "dateCreation": "2019-03-26 16:29:33",
31
+ "dateModified": "2024-01-25 10:21:28",
32
+ "title": "AdminJenkins",
33
+ "_url": "/user/1",
34
+ "level": 9
35
+ },
36
+ "_audience": [
37
+ {
38
+ "id": 6,
39
+ "mainType": "user",
40
+ "type": "user",
41
+ "uri": "user/6",
42
+ "dateCreation": "2019-07-09 15:49:06",
43
+ "dateModified": "2024-01-25 10:23:18",
44
+ "title": "User1",
45
+ "_url": "/user/6",
46
+ "level": 5
47
+ }
48
+ ],
49
+ "place": "",
50
+ "address": "",
51
+ "dateStart": "2024-01-26 11:03:58",
52
+ "dateEnd": "2024-01-26 14:03:58",
53
+ "noGestion": null
54
+ }
55
+ }
@@ -0,0 +1,64 @@
1
+ {
2
+ "o": "article",
3
+ "f": "get",
4
+ "error": 0,
5
+ "messages": [],
6
+ "result": {
7
+ "id": 432,
8
+ "mainType": "article",
9
+ "type": "meeting",
10
+ "uri": "meeting/432",
11
+ "dateCreation": "2024-01-26 11:03:59",
12
+ "dateModified": "2024-01-26 11:03:59",
13
+ "title": "Test meeting notifications (live - 1706263439)",
14
+ "_url": "/article/432",
15
+ "_right": {
16
+ "create": true,
17
+ "read": true,
18
+ "publish": false,
19
+ "administrate": true,
20
+ "update": true,
21
+ "delete": true,
22
+ "comment": true,
23
+ "member": true
24
+ },
25
+ "_user": {
26
+ "id": 1,
27
+ "mainType": "user",
28
+ "type": "user",
29
+ "uri": "user/1",
30
+ "dateCreation": "2019-03-26 16:29:33",
31
+ "dateModified": "2024-01-25 10:21:28",
32
+ "title": "AdminJenkins",
33
+ "_url": "/user/1",
34
+ "level": 9
35
+ },
36
+ "_audience": [
37
+ {
38
+ "id": 6,
39
+ "mainType": "user",
40
+ "type": "user",
41
+ "uri": "user/6",
42
+ "dateCreation": "2019-07-09 15:49:06",
43
+ "dateModified": "2024-01-25 10:23:18",
44
+ "title": "User1",
45
+ "_url": "/user/6",
46
+ "level": 5
47
+ }
48
+ ],
49
+ "processContext": null,
50
+ "place": "",
51
+ "address": "",
52
+ "dateStart": "2024-01-26 11:03:58",
53
+ "dateEnd": "2024-01-26 14:03:58",
54
+ "allDay": null,
55
+ "agenda": "",
56
+ "noGestion": null,
57
+ "useQrcode": null,
58
+ "textColor": "",
59
+ "bgColor": "",
60
+ "report": "",
61
+ "reportFile": [],
62
+ "uiObjectLink": []
63
+ }
64
+ }
@@ -0,0 +1,62 @@
1
+ {
2
+ "o": "article",
3
+ "f": "get",
4
+ "error": 0,
5
+ "messages": [],
6
+ "result": {
7
+ "id": 25,
8
+ "mainType": "article",
9
+ "type": "pollSurvey",
10
+ "uri": "pollSurvey/25",
11
+ "dateCreation": "2024-01-26 11:30:00",
12
+ "dateModified": "2024-01-26 11:30:00",
13
+ "title": "pending survey poll title",
14
+ "_url": "/article/25",
15
+ "_right": {
16
+ "create": true,
17
+ "read": true,
18
+ "publish": false,
19
+ "administrate": true,
20
+ "update": true,
21
+ "delete": true,
22
+ "comment": false,
23
+ "member": true
24
+ },
25
+ "description": "<div class='content-html'></div>",
26
+ "_user": {
27
+ "id": 4,
28
+ "mainType": "user",
29
+ "type": "user",
30
+ "uri": "user/4",
31
+ "dateCreation": "2019-07-09 15:48:26",
32
+ "dateModified": "2019-07-09 15:51:24",
33
+ "title": "Admin1",
34
+ "_url": "/user/4",
35
+ "level": 9
36
+ },
37
+ "_audience": [
38
+ {
39
+ "id": 4,
40
+ "mainType": "user",
41
+ "type": "user",
42
+ "uri": "user/4",
43
+ "dateCreation": "2019-07-09 15:48:26",
44
+ "dateModified": "2019-07-09 15:51:24",
45
+ "title": "Admin1",
46
+ "_url": "/user/4",
47
+ "level": 9
48
+ }
49
+ ],
50
+ "anonymousResponse": null,
51
+ "multipleResponse": 1,
52
+ "publicResults": null,
53
+ "pollProgression": {
54
+ "colors": { "0-49": "#FFC670", "50-99": "#71ABFF", "100": "#50D0BC" },
55
+ "maxRespondentsValue": 1,
56
+ "countRespondentsValue": 0
57
+ },
58
+ "pollResponseShowProgression": 0,
59
+ "dateEnd": "2024-01-27 11:30:00",
60
+ "status": { "name": "Se termine dans 0 jour(s)", "value": 0 }
61
+ }
62
+ }
@@ -0,0 +1,71 @@
1
+ {
2
+ "o": "article",
3
+ "f": "get",
4
+ "error": 0,
5
+ "messages": [],
6
+ "result": {
7
+ "id": 25,
8
+ "mainType": "article",
9
+ "type": "pollSurvey",
10
+ "uri": "pollSurvey/25",
11
+ "dateCreation": "2024-01-26 11:30:00",
12
+ "dateModified": "2024-01-26 11:30:00",
13
+ "title": "pending survey poll title",
14
+ "_url": "/article/25",
15
+ "_right": {
16
+ "create": true,
17
+ "read": true,
18
+ "publish": false,
19
+ "administrate": true,
20
+ "update": true,
21
+ "delete": true,
22
+ "comment": false,
23
+ "member": true
24
+ },
25
+ "description": "<div class='content-html'></div>",
26
+ "_user": {
27
+ "id": 4,
28
+ "mainType": "user",
29
+ "type": "user",
30
+ "uri": "user/4",
31
+ "dateCreation": "2019-07-09 15:48:26",
32
+ "dateModified": "2019-07-09 15:51:24",
33
+ "title": "Admin1",
34
+ "_url": "/user/4",
35
+ "level": 9
36
+ },
37
+ "_audience": [
38
+ {
39
+ "id": 4,
40
+ "mainType": "user",
41
+ "type": "user",
42
+ "uri": "user/4",
43
+ "dateCreation": "2019-07-09 15:48:26",
44
+ "dateModified": "2019-07-09 15:51:24",
45
+ "title": "Admin1",
46
+ "_url": "/user/4",
47
+ "level": 9
48
+ }
49
+ ],
50
+ "anonymousResponse": null,
51
+ "multipleResponse": 1,
52
+ "publicResults": null,
53
+ "pollProgression": {
54
+ "colors": { "0-49": "#FFC670", "50-99": "#71ABFF", "100": "#50D0BC" },
55
+ "maxRespondentsValue": 1,
56
+ "countRespondentsValue": 0
57
+ },
58
+ "pollResponseShowProgression": 0,
59
+ "dateEnd": "2024-01-27 11:30:00",
60
+ "status": { "name": "Se termine dans 0 jour(s)", "value": 0 },
61
+ "processContext": null,
62
+ "pollContent": null,
63
+ "pollLinks": null,
64
+ "pollForceClose": null,
65
+ "pollResponseUserVisibility": null,
66
+ "pollResponseAuthorVisibility": null,
67
+ "pollResponseShowRespondent": null,
68
+ "pollBanner": [],
69
+ "pollMessage": ""
70
+ }
71
+ }
@@ -0,0 +1,42 @@
1
+ {
2
+ "o": "article",
3
+ "f": "get",
4
+ "error": 0,
5
+ "messages": [],
6
+ "result": {
7
+ "id": 28,
8
+ "mainType": "article",
9
+ "type": "quizz",
10
+ "uri": "quizz/28",
11
+ "dateCreation": "2024-01-29 08:44:36",
12
+ "dateModified": "2024-01-29 08:44:36",
13
+ "title": "quizz 1",
14
+ "_url": "/article/28",
15
+ "_right": {
16
+ "create": true,
17
+ "read": true,
18
+ "publish": false,
19
+ "administrate": true,
20
+ "update": true,
21
+ "delete": true,
22
+ "comment": true,
23
+ "member": true
24
+ },
25
+ "_user": {
26
+ "id": 4,
27
+ "mainType": "user",
28
+ "type": "user",
29
+ "uri": "user/4",
30
+ "dateCreation": "2019-07-09 15:48:26",
31
+ "dateModified": "2019-07-09 15:51:24",
32
+ "title": "Admin1",
33
+ "_url": "/user/4",
34
+ "level": 9
35
+ },
36
+ "_audience": [],
37
+ "quizzDescription": null,
38
+ "quizzClosingDate": null,
39
+ "dateStart": null,
40
+ "dateEnd": null
41
+ }
42
+ }
@@ -0,0 +1,49 @@
1
+ {
2
+ "o": "article",
3
+ "f": "get",
4
+ "error": 0,
5
+ "messages": [],
6
+ "result": {
7
+ "id": 28,
8
+ "mainType": "article",
9
+ "type": "quizz",
10
+ "uri": "quizz/28",
11
+ "dateCreation": "2024-01-29 08:44:36",
12
+ "dateModified": "2024-01-29 08:44:36",
13
+ "title": "quizz 1",
14
+ "_url": "/article/28",
15
+ "_right": {
16
+ "create": true,
17
+ "read": true,
18
+ "publish": false,
19
+ "administrate": true,
20
+ "update": true,
21
+ "delete": true,
22
+ "comment": true,
23
+ "member": true
24
+ },
25
+ "_user": {
26
+ "id": 4,
27
+ "mainType": "user",
28
+ "type": "user",
29
+ "uri": "user/4",
30
+ "dateCreation": "2019-07-09 15:48:26",
31
+ "dateModified": "2019-07-09 15:51:24",
32
+ "title": "Admin1",
33
+ "_url": "/user/4",
34
+ "level": 9
35
+ },
36
+ "_audience": [],
37
+ "quizzDescription": null,
38
+ "quizzClosingDate": null,
39
+ "dateStart": null,
40
+ "dateEnd": null,
41
+ "processContext": null,
42
+ "quizzInvitation": null,
43
+ "quizzFormSpec": "",
44
+ "quizzRandom": null,
45
+ "quizzHideResponses": null,
46
+ "quizzStatus": null,
47
+ "quizzPublicationDate": null
48
+ }
49
+ }
@@ -0,0 +1,57 @@
1
+ {
2
+ "o": "article",
3
+ "f": "get",
4
+ "error": 0,
5
+ "messages": [],
6
+ "result": {
7
+ "id": 13,
8
+ "mainType": "article",
9
+ "type": "socialEvent",
10
+ "uri": "socialEvent/13",
11
+ "dateCreation": "2024-01-29 08:52:21",
12
+ "dateModified": "2024-01-29 08:52:21",
13
+ "title": "EVENT FOR TEST",
14
+ "_url": "/article/13",
15
+ "_right": {
16
+ "create": true,
17
+ "read": true,
18
+ "publish": false,
19
+ "administrate": true,
20
+ "update": true,
21
+ "delete": true,
22
+ "comment": true,
23
+ "member": true
24
+ },
25
+ "description": "<div class='content-html'></div>",
26
+ "_user": {
27
+ "id": 1,
28
+ "mainType": "user",
29
+ "type": "user",
30
+ "uri": "user/1",
31
+ "dateCreation": "2019-03-26 16:29:33",
32
+ "dateModified": "2019-07-19 09:39:23",
33
+ "title": "AdminJenkins",
34
+ "_url": "/user/1",
35
+ "level": 9
36
+ },
37
+ "_audience": [
38
+ {
39
+ "id": 1,
40
+ "mainType": "spot",
41
+ "type": "spot",
42
+ "uri": "spot/1",
43
+ "dateCreation": "2019-07-18 18:36:24",
44
+ "dateModified": "2024-01-29 08:52:21",
45
+ "title": "Groupe public",
46
+ "_url": "/group/1",
47
+ "privacy": 1,
48
+ "category": 1
49
+ }
50
+ ],
51
+ "place": "",
52
+ "address": "",
53
+ "dateStart": "2024-01-29 08:52:21",
54
+ "dateEnd": "2024-01-29 11:52:21",
55
+ "noGestion": null
56
+ }
57
+ }
@@ -0,0 +1,66 @@
1
+ {
2
+ "o": "article",
3
+ "f": "get",
4
+ "error": 0,
5
+ "messages": [],
6
+ "result": {
7
+ "id": 13,
8
+ "mainType": "article",
9
+ "type": "socialEvent",
10
+ "uri": "socialEvent/13",
11
+ "dateCreation": "2024-01-29 08:52:21",
12
+ "dateModified": "2024-01-29 08:52:21",
13
+ "title": "EVENT FOR TEST",
14
+ "_url": "/article/13",
15
+ "_right": {
16
+ "create": true,
17
+ "read": true,
18
+ "publish": false,
19
+ "administrate": true,
20
+ "update": true,
21
+ "delete": true,
22
+ "comment": true,
23
+ "member": true
24
+ },
25
+ "description": "<div class='content-html'></div>",
26
+ "_user": {
27
+ "id": 1,
28
+ "mainType": "user",
29
+ "type": "user",
30
+ "uri": "user/1",
31
+ "dateCreation": "2019-03-26 16:29:33",
32
+ "dateModified": "2019-07-19 09:39:23",
33
+ "title": "AdminJenkins",
34
+ "_url": "/user/1",
35
+ "level": 9
36
+ },
37
+ "_audience": [
38
+ {
39
+ "id": 1,
40
+ "mainType": "spot",
41
+ "type": "spot",
42
+ "uri": "spot/1",
43
+ "dateCreation": "2019-07-18 18:36:24",
44
+ "dateModified": "2024-01-29 08:52:21",
45
+ "title": "Groupe public",
46
+ "_url": "/group/1",
47
+ "privacy": 1,
48
+ "category": 1
49
+ }
50
+ ],
51
+ "place": "",
52
+ "address": "",
53
+ "dateStart": "2024-01-29 08:52:21",
54
+ "dateEnd": "2024-01-29 11:52:21",
55
+ "noGestion": null,
56
+ "processContext": null,
57
+ "allDay": null,
58
+ "socialEventUseCeiling": null,
59
+ "socialEventCeiling": null,
60
+ "useQrcode": null,
61
+ "hideFromCalendar": null,
62
+ "textColor": "",
63
+ "bgColor": "",
64
+ "uiObjectLink": []
65
+ }
66
+ }