jamespot-user-api 1.0.150 → 1.0.151

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 (102) 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 +6 -6
  16. package/documentation/classes/JFilebankApi.html +1 -1
  17. package/documentation/classes/JGlobalApi.html +1 -1
  18. package/documentation/classes/JGroupApi.html +11 -11
  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 +3 -3
  27. package/documentation/classes/JUserApi.html +8 -8
  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/TaxonomyCreate.html +1 -1
  65. package/documentation/interfaces/WindowInterface.html +1 -1
  66. package/documentation/modules.html +10 -12
  67. package/lib/jamespot-user-api.js +1 -1
  68. package/lib/jamespot-user-api.js.map +1 -1
  69. package/lib/src/apis/bookmark/bookmark.d.ts +34 -1
  70. package/lib/src/apis/community.d.ts +38 -2
  71. package/lib/src/apis/file/file.d.ts +6 -4
  72. package/lib/src/apis/group/group.d.ts +40 -4
  73. package/lib/src/apis/user/user.d.ts +2 -2
  74. package/lib/src/types/asei.d.ts +3 -1
  75. package/lib/src/types/autocomplete.d.ts +1 -1
  76. package/lib/src/types/bookmark.d.ts +2 -1
  77. package/lib/src/types/comment.d.ts +3 -1
  78. package/lib/src/types/common.d.ts +31 -0
  79. package/lib/src/types/diapazone.d.ts +2 -1
  80. package/lib/src/types/file.d.ts +3 -1
  81. package/lib/src/types/group.d.ts +2 -1
  82. package/lib/src/types/index.d.ts +2 -0
  83. package/lib/src/types/model.d.ts +11 -10
  84. package/lib/src/types/object.d.ts +249 -0
  85. package/lib/src/types/realtime.d.ts +2 -1
  86. package/lib/src/types/search.d.ts +1 -1
  87. package/lib/src/types/share.d.ts +1 -1
  88. package/lib/src/types/tvDisplay.d.ts +2 -1
  89. package/lib/src/types/user.d.ts +49 -8
  90. package/lib/src/types/utils.d.ts +2 -35
  91. package/lib/src/types/wedoc.d.ts +3 -1
  92. package/lib/src/util/Test.d.ts +7 -8
  93. package/lib/src/util/file.mock.d.ts +78 -52
  94. package/lib/src/util/network.d.ts +3 -2
  95. package/package.json +4 -1
  96. package/phpunitMock/articleGet-with-widgets.json +188 -184
  97. package/phpunitMock/articleGetAttachment-success.json +20 -19
  98. package/phpunitMock/fileCreate-rawLittle.json +18 -17
  99. package/phpunitMock/fileGet-default.json +18 -17
  100. package/phpunitMock/fileUpdate-rawLittle.json +27 -18
  101. package/phpunitMock/tvDisplayGetChannel-slideshow.json +94 -92
  102. package/phpunitMock/tvDisplayGetConfigureChannel-slideshow.json +91 -86
@@ -1,92 +1,94 @@
1
- {
2
- "o": "tvDisplay",
3
- "f": "getChannel",
4
- "error": 0,
5
- "messages": [],
6
- "result": {
7
- "interval": 60,
8
- "channel": {
9
- "id": 192,
10
- "mainType": "article",
11
- "type": "tvDisplayChannel",
12
- "uri": "tvDisplayChannel/192",
13
- "dateCreation": "2024-01-05 08:23:51",
14
- "dateModified": "2024-01-05 08:23:51",
15
- "title": "TV Channel slideshow",
16
- "_url": "/ng/rr/tv-display",
17
- "_right": {
18
- "create": true,
19
- "read": true,
20
- "publish": true,
21
- "administrate": true,
22
- "update": true,
23
- "delete": true,
24
- "comment": false,
25
- "member": true
26
- },
27
- "_user": {
28
- "id": 4,
29
- "mainType": "user",
30
- "type": "user",
31
- "uri": "user/4",
32
- "dateCreation": "2019-07-09 15:48:26",
33
- "dateModified": "2019-07-09 15:51:24",
34
- "title": "Admin1",
35
- "_url": "/user/4",
36
- "level": 9
37
- },
38
- "_audience": [],
39
- "tvChannelType": "SLIDESHOW",
40
- "tvChannelBackgroundColor": "#9000DA",
41
- "tvChannelNumImages": 2,
42
- "tvChannelGroupTarget": {
43
- "id": 1,
44
- "mainType": "spot",
45
- "type": "spot",
46
- "uri": "spot/1",
47
- "dateCreation": "2019-07-18 18:36:24",
48
- "dateModified": "2024-01-05 08:23:51",
49
- "title": "Groupe public",
50
- "_url": "/group/1",
51
- "privacy": 1,
52
- "category": "1"
53
- },
54
- "tvChannelConfig": {
55
- "contents": [],
56
- "key": "6597ae87ab18b"
57
- },
58
- "_extend": {
59
- "attachments": [
60
- {
61
- "id": 26,
62
- "mainType": "fileArticle",
63
- "type": "fileArticle",
64
- "uri": "fileArticle/26",
65
- "dateCreation": "2024-01-05 08:23:51",
66
- "dateModified": null,
67
- "title": "imgTest.jpg",
68
- "mimetype": "image/jpeg",
69
- "_url": "/ng/rr/tv-display",
70
- "_extend": {
71
- "imageSecureUrl": "http://jpro-gitbranch-release-2024-01-05-1000.jamespot.pro/mediasecure/eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpZEZpbGUiOiIyNiIsIm1lZGlhS2V5IjoiOGNiMDYwYjRhOWMzNTBhOWQzNGI1ODg0NzlkMjBjOWYifQ.ZgNRn0S3UWcm_AjqNFY76C3EQG444qpz_cH6wP5sPe8"
72
- }
73
- },
74
- {
75
- "id": 27,
76
- "mainType": "fileArticle",
77
- "type": "fileArticle",
78
- "uri": "fileArticle/27",
79
- "dateCreation": "2024-01-05 08:23:51",
80
- "dateModified": null,
81
- "title": "imgTest.jpg",
82
- "mimetype": "image/jpeg",
83
- "_url": "/ng/rr/tv-display",
84
- "_extend": {
85
- "imageSecureUrl": "http://jpro-gitbranch-release-2024-01-05-1000.jamespot.pro/mediasecure/eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpZEZpbGUiOiIyNyIsIm1lZGlhS2V5IjoiOGNiMDYwYjRhOWMzNTBhOWQzNGI1ODg0NzlkMjBjOWYifQ.NJum0Js52xNO-weND4nWt0p01eRjNzpMWUjBU6i08QA"
86
- }
87
- }
88
- ]
89
- }
90
- }
91
- }
92
- }
1
+ {
2
+ "o": "tvDisplay",
3
+ "f": "getChannel",
4
+ "error": 0,
5
+ "messages": [],
6
+ "result": {
7
+ "interval": 60,
8
+ "channel": {
9
+ "id": 252,
10
+ "mainType": "article",
11
+ "type": "tvDisplayChannel",
12
+ "uri": "tvDisplayChannel/252",
13
+ "dateCreation": "2024-04-11 12:10:28",
14
+ "dateModified": "2024-04-11 12:10:28",
15
+ "title": "TV Channel slideshow",
16
+ "_url": "/ng/rr/tv-display",
17
+ "_right": {
18
+ "create": true,
19
+ "read": true,
20
+ "publish": true,
21
+ "administrate": true,
22
+ "update": true,
23
+ "delete": true,
24
+ "comment": false,
25
+ "member": true
26
+ },
27
+ "_user": {
28
+ "id": 4,
29
+ "mainType": "user",
30
+ "type": "user",
31
+ "uri": "user/4",
32
+ "dateCreation": "2019-07-09 15:48:26",
33
+ "dateModified": "2024-04-11 12:08:23",
34
+ "title": "Admin1",
35
+ "_url": "/user/4",
36
+ "level": 9
37
+ },
38
+ "_audience": [],
39
+ "tvChannelType": "SLIDESHOW",
40
+ "tvChannelBackgroundColor": "#9000DA",
41
+ "tvChannelNumImages": 2,
42
+ "tvChannelGroupTarget": {
43
+ "id": 1,
44
+ "mainType": "spot",
45
+ "type": "spot",
46
+ "uri": "spot/1",
47
+ "dateCreation": "2019-07-18 18:36:24",
48
+ "dateModified": "2024-04-11 12:10:28",
49
+ "title": "Groupe public",
50
+ "_url": "/group/1",
51
+ "privacy": 1,
52
+ "category": 1
53
+ },
54
+ "tvChannelConfig": {
55
+ "contents": [],
56
+ "key": "6617b714ad958"
57
+ },
58
+ "_extend": {
59
+ "attachments": [
60
+ {
61
+ "id": 62,
62
+ "mainType": "fileArticle",
63
+ "type": "fileArticle",
64
+ "uri": "fileArticle/62",
65
+ "dateCreation": "2024-04-11 12:10:28",
66
+ "dateModified": null,
67
+ "title": "imgTest.jpg",
68
+ "size": "20904",
69
+ "mimetype": "image/jpeg",
70
+ "_url": "/ng/rr/tv-display",
71
+ "_extend": {
72
+ "imageSecureUrl": "http://jenkins-preprod.jamespot.pro/mediasecure/eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpZEZpbGUiOiI2MiIsIm1lZGlhS2V5IjoiOGNiMDYwYjRhOWMzNTBhOWQzNGI1ODg0NzlkMjBjOWYifQ.ePFfgg46wD5aUujkcEDvEwplwOR0fCCJv89tYZmgc9w"
73
+ }
74
+ },
75
+ {
76
+ "id": 63,
77
+ "mainType": "fileArticle",
78
+ "type": "fileArticle",
79
+ "uri": "fileArticle/63",
80
+ "dateCreation": "2024-04-11 12:10:28",
81
+ "dateModified": null,
82
+ "title": "imgTest.jpg",
83
+ "size": "20904",
84
+ "mimetype": "image/jpeg",
85
+ "_url": "/ng/rr/tv-display",
86
+ "_extend": {
87
+ "imageSecureUrl": "http://jenkins-preprod.jamespot.pro/mediasecure/eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpZEZpbGUiOiI2MyIsIm1lZGlhS2V5IjoiOGNiMDYwYjRhOWMzNTBhOWQzNGI1ODg0NzlkMjBjOWYifQ.PrdfckcLYqAeP7vcnxYdI4sQPe0HefKJFXXPCCvL0Ok"
88
+ }
89
+ }
90
+ ]
91
+ }
92
+ }
93
+ }
94
+ }
@@ -1,86 +1,91 @@
1
- {
2
- "o": "tvDisplay",
3
- "f": "getConfigureChannel",
4
- "error": 0,
5
- "messages": [],
6
- "result": {
7
- "id": 195,
8
- "mainType": "article",
9
- "type": "tvDisplayChannel",
10
- "uri": "tvDisplayChannel/195",
11
- "dateCreation": "2024-01-25 10:21:20",
12
- "dateModified": "2024-01-25 10:21:20",
13
- "title": "TV Channel slideshow",
14
- "_url": "/ng/rr/tv-display",
15
- "_right": {
16
- "create": true,
17
- "read": true,
18
- "publish": true,
19
- "administrate": true,
20
- "update": true,
21
- "delete": true,
22
- "comment": false,
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
- "tvChannelType": "SLIDESHOW",
38
- "tvChannelBackgroundColor": "#9000DA",
39
- "tvChannelNumImages": 2,
40
- "tvChannelGroupTarget": {
41
- "id": 1,
42
- "mainType": "spot",
43
- "type": "spot",
44
- "uri": "spot/1",
45
- "dateCreation": "2019-07-18 18:36:24",
46
- "dateModified": "2024-01-25 10:21:20",
47
- "title": "Groupe public",
48
- "_url": "/group/1",
49
- "privacy": 1,
50
- "category": 1
51
- },
52
- "tvChannelConfig": { "contents": [], "key": "65b2281077e9c" },
53
- "_extend": {
54
- "attachments": [
55
- {
56
- "id": 26,
57
- "mainType": "fileArticle",
58
- "type": "fileArticle",
59
- "uri": "fileArticle/26",
60
- "dateCreation": "2024-01-25 10:21:20",
61
- "dateModified": null,
62
- "title": "imgTest.jpg",
63
- "mimetype": "image/jpeg",
64
- "_url": "/ng/rr/tv-display",
65
- "_extend": {
66
- "imageSecureUrl": "http://jenkins-preprod.jamespot.pro/mediasecure/eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpZEZpbGUiOiIyNiIsIm1lZGlhS2V5IjoiOGNiMDYwYjRhOWMzNTBhOWQzNGI1ODg0NzlkMjBjOWYifQ.w6K5prfRlZ9JyGx_rmjEpf803TG4RUvPBvxLajUwOZM"
67
- }
68
- },
69
- {
70
- "id": 27,
71
- "mainType": "fileArticle",
72
- "type": "fileArticle",
73
- "uri": "fileArticle/27",
74
- "dateCreation": "2024-01-25 10:21:20",
75
- "dateModified": null,
76
- "title": "imgTest.jpg",
77
- "mimetype": "image/jpeg",
78
- "_url": "/ng/rr/tv-display",
79
- "_extend": {
80
- "imageSecureUrl": "http://jenkins-preprod.jamespot.pro/mediasecure/eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpZEZpbGUiOiIyNyIsIm1lZGlhS2V5IjoiOGNiMDYwYjRhOWMzNTBhOWQzNGI1ODg0NzlkMjBjOWYifQ.v7Jl8wDfx8VLQTa5dPGQnn1QldjHL2bxwbrJ0mbDvNw"
81
- }
82
- }
83
- ]
84
- }
85
- }
86
- }
1
+ {
2
+ "o": "tvDisplay",
3
+ "f": "getConfigureChannel",
4
+ "error": 0,
5
+ "messages": [],
6
+ "result": {
7
+ "id": 252,
8
+ "mainType": "article",
9
+ "type": "tvDisplayChannel",
10
+ "uri": "tvDisplayChannel/252",
11
+ "dateCreation": "2024-04-11 12:10:28",
12
+ "dateModified": "2024-04-11 12:10:28",
13
+ "title": "TV Channel slideshow",
14
+ "_url": "/ng/rr/tv-display",
15
+ "_right": {
16
+ "create": true,
17
+ "read": true,
18
+ "publish": true,
19
+ "administrate": true,
20
+ "update": true,
21
+ "delete": true,
22
+ "comment": false,
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": "2024-04-11 12:08:23",
32
+ "title": "Admin1",
33
+ "_url": "/user/4",
34
+ "level": 9
35
+ },
36
+ "_audience": [],
37
+ "tvChannelType": "SLIDESHOW",
38
+ "tvChannelBackgroundColor": "#9000DA",
39
+ "tvChannelNumImages": 2,
40
+ "tvChannelGroupTarget": {
41
+ "id": 1,
42
+ "mainType": "spot",
43
+ "type": "spot",
44
+ "uri": "spot/1",
45
+ "dateCreation": "2019-07-18 18:36:24",
46
+ "dateModified": "2024-04-11 12:10:28",
47
+ "title": "Groupe public",
48
+ "_url": "/group/1",
49
+ "privacy": 1,
50
+ "category": 1
51
+ },
52
+ "tvChannelConfig": {
53
+ "contents": [],
54
+ "key": "6617b714ad958"
55
+ },
56
+ "_extend": {
57
+ "attachments": [
58
+ {
59
+ "id": 62,
60
+ "mainType": "fileArticle",
61
+ "type": "fileArticle",
62
+ "uri": "fileArticle/62",
63
+ "dateCreation": "2024-04-11 12:10:28",
64
+ "dateModified": null,
65
+ "title": "imgTest.jpg",
66
+ "size": 20904,
67
+ "mimetype": "image/jpeg",
68
+ "_url": "/ng/rr/tv-display",
69
+ "_extend": {
70
+ "imageSecureUrl": "http://jenkins-preprod.jamespot.pro/mediasecure/eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpZEZpbGUiOiI2MiIsIm1lZGlhS2V5IjoiOGNiMDYwYjRhOWMzNTBhOWQzNGI1ODg0NzlkMjBjOWYifQ.ePFfgg46wD5aUujkcEDvEwplwOR0fCCJv89tYZmgc9w"
71
+ }
72
+ },
73
+ {
74
+ "id": 63,
75
+ "mainType": "fileArticle",
76
+ "type": "fileArticle",
77
+ "uri": "fileArticle/63",
78
+ "dateCreation": "2024-04-11 12:10:28",
79
+ "dateModified": null,
80
+ "title": "imgTest.jpg",
81
+ "size": 20904,
82
+ "mimetype": "image/jpeg",
83
+ "_url": "/ng/rr/tv-display",
84
+ "_extend": {
85
+ "imageSecureUrl": "http://jenkins-preprod.jamespot.pro/mediasecure/eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpZEZpbGUiOiI2MyIsIm1lZGlhS2V5IjoiOGNiMDYwYjRhOWMzNTBhOWQzNGI1ODg0NzlkMjBjOWYifQ.PrdfckcLYqAeP7vcnxYdI4sQPe0HefKJFXXPCCvL0Ok"
86
+ }
87
+ }
88
+ ]
89
+ }
90
+ }
91
+ }