jamespot-user-api 1.0.168 → 1.0.169

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 (98) hide show
  1. package/documentation/assets/search.js +1 -1
  2. package/documentation/classes/AdminLicenseApi.html +32 -12
  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 +6 -6
  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/Format.html +1 -1
  37. package/documentation/enums/GroupModerateStatus.html +1 -1
  38. package/documentation/enums/StudioApplicationStatus.html +1 -1
  39. package/documentation/enums/WidgetsName.html +1 -1
  40. package/documentation/index.html +1 -1
  41. package/documentation/interfaces/AccessRightObject.html +1 -1
  42. package/documentation/interfaces/AdminLicenseUser.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/ObjectListProps.html +1 -1
  52. package/documentation/interfaces/PagingResults.html +1 -1
  53. package/documentation/interfaces/RootFolderProps.html +1 -1
  54. package/documentation/interfaces/SearchCategoryModel.html +1 -1
  55. package/documentation/interfaces/SearchCategoryValue.html +1 -1
  56. package/documentation/interfaces/SearchConfig.html +1 -1
  57. package/documentation/interfaces/SearchFacetModel.html +1 -1
  58. package/documentation/interfaces/SearchFacetValueModel.html +1 -1
  59. package/documentation/interfaces/SearchQuery.html +1 -1
  60. package/documentation/interfaces/SearchQueryFilterModel.html +1 -1
  61. package/documentation/interfaces/SearchQueryOption.html +1 -1
  62. package/documentation/interfaces/SearchQueryResult.html +1 -1
  63. package/documentation/interfaces/SearchQuerySortModel.html +1 -1
  64. package/documentation/interfaces/SearchResultCatProps.html +1 -1
  65. package/documentation/interfaces/SearchResultPropsApp.html +1 -1
  66. package/documentation/interfaces/SearchResultPropsObject.html +1 -1
  67. package/documentation/interfaces/SpotProps.html +1 -1
  68. package/documentation/interfaces/TaxonomyCreate.html +1 -1
  69. package/documentation/interfaces/WidgetType.html +1 -1
  70. package/documentation/interfaces/WindowInterface.html +1 -1
  71. package/documentation/modules.html +11 -11
  72. package/lib/jamespot-user-api.js +1 -1
  73. package/lib/jamespot-user-api.js.map +1 -1
  74. package/lib/src/apis/admin/license.d.ts +39 -4
  75. package/lib/src/apis/admin/licenses.mock.d.ts +6 -1
  76. package/lib/src/apis/admin/utils.d.ts +1 -1
  77. package/lib/src/apis/jamespotUserApi.d.ts +2 -0
  78. package/lib/src/apis/magicPad/magicPad.d.ts +6 -0
  79. package/lib/src/apis/magicPad/magicPad.mock.d.ts +3 -0
  80. package/lib/src/apis/magicPad/magicPad.test.d.ts +1 -0
  81. package/lib/src/types/adminLicence.d.ts +13 -3
  82. package/lib/src/types/adminUtils.d.ts +2 -0
  83. package/lib/src/types/hook.d.ts +91 -2
  84. package/lib/src/types/index.d.ts +1 -0
  85. package/lib/src/types/license.d.ts +223 -0
  86. package/lib/src/types/magicPad.d.ts +9 -0
  87. package/lib/src/types/search.d.ts +1 -3
  88. package/lib/src/types/utils.d.ts +11 -11
  89. package/lib/src/util/taxonomy.d.ts +2 -2
  90. package/package.json +1 -1
  91. package/phpunitMock/licenseManagerAssignLicenseKind-default.json +7 -0
  92. package/phpunitMock/licenseManagerGetUsers-default.json +205 -0
  93. package/phpunitMock/licenseManagerGetUsersWithLicense-default.json +24 -0
  94. package/phpunitMock/licenseManagerStatistics-default.json +10 -0
  95. package/phpunitMock/licenseManagerUnassignLicenseKind-default.json +7 -0
  96. package/phpunitMock/licenseManagerUnassignUnusedLicenses-default.json +7 -0
  97. package/phpunitMock/magicPadGetThumbnailUrl-success.json +9 -0
  98. /package/lib/src/apis/admin/{licences.test.d.ts → licenses.test.d.ts} +0 -0
@@ -0,0 +1,205 @@
1
+ {
2
+ "o": "licenseManager",
3
+ "f": "getUsers",
4
+ "error": 0,
5
+ "messages": [],
6
+ "result": {
7
+ "limit": 10,
8
+ "page": 1,
9
+ "cnt": 11,
10
+ "data": [
11
+ {
12
+ "user": {
13
+ "id": 1,
14
+ "mainType": "user",
15
+ "type": "user",
16
+ "uri": "user/1",
17
+ "dateCreation": "2019-03-26 16:29:33",
18
+ "dateModified": "2024-07-11 16:12:10",
19
+ "title": "AdminJenkins",
20
+ "_url": "/user/1",
21
+ "level": 9,
22
+ "firstname": "Admin",
23
+ "lastname": "Jenkins",
24
+ "company": "",
25
+ "mail": "admin.jenkins@jamespot.com",
26
+ "active": 1
27
+ },
28
+ "license": "0"
29
+ },
30
+ {
31
+ "user": {
32
+ "id": 2,
33
+ "mainType": "user",
34
+ "type": "user",
35
+ "uri": "user/2",
36
+ "dateCreation": "2019-04-01 15:59:41",
37
+ "dateModified": "2019-07-19 09:40:03",
38
+ "title": "Browser.Stack",
39
+ "_url": "/user/2",
40
+ "level": 9,
41
+ "firstname": "Browser",
42
+ "lastname": "Stack",
43
+ "company": "",
44
+ "mail": "browserstack@jamespot.com",
45
+ "active": 1
46
+ },
47
+ "license": "0"
48
+ },
49
+ {
50
+ "user": {
51
+ "id": 4,
52
+ "mainType": "user",
53
+ "type": "user",
54
+ "uri": "user/4",
55
+ "dateCreation": "2019-07-09 15:48:26",
56
+ "dateModified": "2024-07-11 16:10:46",
57
+ "title": "Admin1",
58
+ "_url": "/user/4",
59
+ "level": 9,
60
+ "firstname": "Un",
61
+ "lastname": "Admin",
62
+ "company": "",
63
+ "mail": "admin1@jamespot.com",
64
+ "active": 1
65
+ },
66
+ "license": "0"
67
+ },
68
+ {
69
+ "user": {
70
+ "id": 5,
71
+ "mainType": "user",
72
+ "type": "user",
73
+ "uri": "user/5",
74
+ "dateCreation": "2019-07-09 15:48:45",
75
+ "dateModified": "2019-07-09 15:51:16",
76
+ "title": "Admin2",
77
+ "_url": "/user/5",
78
+ "level": 9,
79
+ "firstname": "Deux",
80
+ "lastname": "Admin",
81
+ "company": "",
82
+ "mail": "admin2@jamespot.com",
83
+ "active": 1
84
+ },
85
+ "license": "0"
86
+ },
87
+ {
88
+ "user": {
89
+ "id": 6,
90
+ "mainType": "user",
91
+ "type": "user",
92
+ "uri": "user/6",
93
+ "dateCreation": "2019-07-09 15:49:06",
94
+ "dateModified": "2024-07-11 16:13:16",
95
+ "title": "User1",
96
+ "_url": "/user/6",
97
+ "level": 5,
98
+ "firstname": "Un",
99
+ "lastname": "User",
100
+ "company": "",
101
+ "mail": "user1@jamespot.com",
102
+ "active": 1
103
+ },
104
+ "license": "1"
105
+ },
106
+ {
107
+ "user": {
108
+ "id": 7,
109
+ "mainType": "user",
110
+ "type": "user",
111
+ "uri": "user/7",
112
+ "dateCreation": "2019-07-09 15:49:25",
113
+ "dateModified": "2024-07-11 16:13:16",
114
+ "title": "User2",
115
+ "_url": "/user/7",
116
+ "level": 5,
117
+ "firstname": "Deux",
118
+ "lastname": "User",
119
+ "company": "",
120
+ "mail": "user2@jamespot.com",
121
+ "active": 1
122
+ },
123
+ "license": "0"
124
+ },
125
+ {
126
+ "user": {
127
+ "id": 8,
128
+ "mainType": "user",
129
+ "type": "user",
130
+ "uri": "user/8",
131
+ "dateCreation": "2019-07-09 15:50:15",
132
+ "dateModified": "2019-07-09 15:52:00",
133
+ "title": "Limited1",
134
+ "_url": "/user/8",
135
+ "level": 3,
136
+ "firstname": "Un",
137
+ "lastname": "Limited",
138
+ "company": "",
139
+ "mail": "limited1@jamespot.com",
140
+ "active": 1
141
+ },
142
+ "license": "0"
143
+ },
144
+ {
145
+ "user": {
146
+ "id": 9,
147
+ "mainType": "user",
148
+ "type": "user",
149
+ "uri": "user/9",
150
+ "dateCreation": "2019-07-09 15:50:52",
151
+ "dateModified": "2019-07-09 15:52:09",
152
+ "title": "Limited2",
153
+ "_url": "/user/9",
154
+ "level": 3,
155
+ "firstname": "Deux",
156
+ "lastname": "Limited",
157
+ "company": "",
158
+ "mail": "limited2@jamespot.com",
159
+ "active": 1
160
+ },
161
+ "license": "0"
162
+ },
163
+ {
164
+ "user": {
165
+ "id": 10,
166
+ "mainType": "user",
167
+ "type": "user",
168
+ "uri": "user/10",
169
+ "dateCreation": "2019-07-09 15:54:22",
170
+ "dateModified": "2019-07-09 15:55:05",
171
+ "title": "InactiveAdmin1",
172
+ "_url": "/user/10",
173
+ "level": 9,
174
+ "firstname": "Un",
175
+ "lastname": "InactiveAdmin",
176
+ "company": "",
177
+ "mail": "inactiveAdmin1@jamespot.com",
178
+ "active": 0
179
+ },
180
+ "license": "0"
181
+ },
182
+ {
183
+ "user": {
184
+ "id": 11,
185
+ "mainType": "user",
186
+ "type": "user",
187
+ "uri": "user/11",
188
+ "dateCreation": "2019-07-09 15:54:59",
189
+ "dateModified": "2019-07-09 15:55:08",
190
+ "title": "InactiveUser1",
191
+ "_url": "/user/11",
192
+ "level": 5,
193
+ "firstname": "InactiveUser",
194
+ "lastname": "Un",
195
+ "company": "",
196
+ "mail": "inactiveUser1@jamespot.com",
197
+ "active": 0
198
+ },
199
+ "license": "0"
200
+ }
201
+ ],
202
+ "facets": null,
203
+ "idQuery": null
204
+ }
205
+ }
@@ -0,0 +1,24 @@
1
+ {
2
+ "o": "licenseManager",
3
+ "f": "getUsersWithLicense",
4
+ "error": 0,
5
+ "messages": [],
6
+ "result": [
7
+ {
8
+ "id": 6,
9
+ "mainType": "user",
10
+ "type": "user",
11
+ "uri": "user/6",
12
+ "dateCreation": "2019-07-09 15:49:06",
13
+ "dateModified": "2024-07-02 14:53:56",
14
+ "title": "User1",
15
+ "_url": "/user/6",
16
+ "level": 5,
17
+ "firstname": "Un",
18
+ "lastname": "User",
19
+ "company": "",
20
+ "mail": "user1@jamespot.com",
21
+ "active": 1
22
+ }
23
+ ]
24
+ }
@@ -0,0 +1,10 @@
1
+ {
2
+ "o": "licenseManager",
3
+ "f": "statistics",
4
+ "error": 0,
5
+ "messages": [],
6
+ "result": {
7
+ "countLicensesAssigned": 0,
8
+ "countLicensesNotAssigned": 0
9
+ }
10
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "o": "licenseManager",
3
+ "f": "unassignLicenseKind",
4
+ "error": 0,
5
+ "messages": [],
6
+ "result": true
7
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "o": "licenseManager",
3
+ "f": "unassignUnusedLicenses",
4
+ "error": 0,
5
+ "messages": [],
6
+ "result": true
7
+ }
@@ -0,0 +1,9 @@
1
+ {
2
+ "o": "magicPad",
3
+ "f": "getThumbnailUrl",
4
+ "error": 0,
5
+ "messages": [],
6
+ "result": {
7
+ "thumbnailUrl": "https://jamespot-thumbnails.draft.io/?pin=53srztrzds97rbsz9sf34q374tdy56m2f3e9mzpvjxar&jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6ImphbWVzcG90In0.eyJwaW4iOiI1M3NyenRyemRzOTdyYnN6OXNmMzRxMzc0dGR5NTZtMmYzZTltenB2anhhciIsInVzZXIiOnsiZW1haWwiOiJhZG1pbjFAamFtZXNwb3QuY29tIiwiZmlyc3RuYW1lIjoiVW4iLCJsYXN0bmFtZSI6IkFkbWluIn0sInBlcm1pc3Npb24iOiJyZWFkZXIifQ.nh8hhdbOwZ2qrxwwZXqWk1YYHr7EAL86wIww__0nqeM"
8
+ }
9
+ }