@stackfactor/client-api 1.1.138 → 1.1.140

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 (274) hide show
  1. package/. npmignore +11 -0
  2. package/package.json +4 -4
  3. package/dist/cjs/actionNotifications.d.ts +0 -24
  4. package/dist/cjs/actionNotifications.d.ts.map +0 -1
  5. package/dist/cjs/actionNotifications.js +0 -73
  6. package/dist/cjs/actionNotifications.js.map +0 -1
  7. package/dist/cjs/address.d.ts +0 -8
  8. package/dist/cjs/address.d.ts.map +0 -1
  9. package/dist/cjs/address.js +0 -24
  10. package/dist/cjs/address.js.map +0 -1
  11. package/dist/cjs/aiAssistant.d.ts +0 -42
  12. package/dist/cjs/aiAssistant.d.ts.map +0 -1
  13. package/dist/cjs/aiAssistant.js +0 -135
  14. package/dist/cjs/aiAssistant.js.map +0 -1
  15. package/dist/cjs/avatar.d.ts +0 -11
  16. package/dist/cjs/avatar.d.ts.map +0 -1
  17. package/dist/cjs/avatar.js +0 -32
  18. package/dist/cjs/avatar.js.map +0 -1
  19. package/dist/cjs/axiosClient.d.ts +0 -31
  20. package/dist/cjs/axiosClient.d.ts.map +0 -1
  21. package/dist/cjs/axiosClient.js +0 -123
  22. package/dist/cjs/axiosClient.js.map +0 -1
  23. package/dist/cjs/config.d.ts +0 -23
  24. package/dist/cjs/config.d.ts.map +0 -1
  25. package/dist/cjs/config.js +0 -63
  26. package/dist/cjs/config.js.map +0 -1
  27. package/dist/cjs/constants.d.ts +0 -69
  28. package/dist/cjs/constants.d.ts.map +0 -1
  29. package/dist/cjs/constants.js +0 -91
  30. package/dist/cjs/constants.js.map +0 -1
  31. package/dist/cjs/dashboard.d.ts +0 -23
  32. package/dist/cjs/dashboard.d.ts.map +0 -1
  33. package/dist/cjs/dashboard.js +0 -74
  34. package/dist/cjs/dashboard.js.map +0 -1
  35. package/dist/cjs/departmentTrainingPlans.d.ts +0 -53
  36. package/dist/cjs/departmentTrainingPlans.d.ts.map +0 -1
  37. package/dist/cjs/departmentTrainingPlans.js +0 -153
  38. package/dist/cjs/departmentTrainingPlans.js.map +0 -1
  39. package/dist/cjs/groups.d.ts +0 -90
  40. package/dist/cjs/groups.d.ts.map +0 -1
  41. package/dist/cjs/groups.js +0 -273
  42. package/dist/cjs/groups.js.map +0 -1
  43. package/dist/cjs/index.d.ts +0 -33
  44. package/dist/cjs/index.d.ts.map +0 -1
  45. package/dist/cjs/index.js +0 -78
  46. package/dist/cjs/index.js.map +0 -1
  47. package/dist/cjs/integration.d.ts +0 -82
  48. package/dist/cjs/integration.d.ts.map +0 -1
  49. package/dist/cjs/integration.js +0 -316
  50. package/dist/cjs/integration.js.map +0 -1
  51. package/dist/cjs/integrationConfiguration.d.ts +0 -27
  52. package/dist/cjs/integrationConfiguration.d.ts.map +0 -1
  53. package/dist/cjs/integrationConfiguration.js +0 -86
  54. package/dist/cjs/integrationConfiguration.js.map +0 -1
  55. package/dist/cjs/integrations/contentGenerator.d.ts +0 -22
  56. package/dist/cjs/integrations/contentGenerator.d.ts.map +0 -1
  57. package/dist/cjs/integrations/contentGenerator.js +0 -69
  58. package/dist/cjs/integrations/contentGenerator.js.map +0 -1
  59. package/dist/cjs/learningContent.d.ts +0 -122
  60. package/dist/cjs/learningContent.d.ts.map +0 -1
  61. package/dist/cjs/learningContent.js +0 -394
  62. package/dist/cjs/learningContent.js.map +0 -1
  63. package/dist/cjs/learningPath.d.ts +0 -64
  64. package/dist/cjs/learningPath.d.ts.map +0 -1
  65. package/dist/cjs/learningPath.js +0 -205
  66. package/dist/cjs/learningPath.js.map +0 -1
  67. package/dist/cjs/logger.d.ts +0 -19
  68. package/dist/cjs/logger.d.ts.map +0 -1
  69. package/dist/cjs/logger.js +0 -60
  70. package/dist/cjs/logger.js.map +0 -1
  71. package/dist/cjs/microSkillsQuizes.d.ts +0 -18
  72. package/dist/cjs/microSkillsQuizes.d.ts.map +0 -1
  73. package/dist/cjs/microSkillsQuizes.js +0 -53
  74. package/dist/cjs/microSkillsQuizes.js.map +0 -1
  75. package/dist/cjs/quotas.d.ts +0 -15
  76. package/dist/cjs/quotas.d.ts.map +0 -1
  77. package/dist/cjs/quotas.js +0 -50
  78. package/dist/cjs/quotas.js.map +0 -1
  79. package/dist/cjs/role.d.ts +0 -113
  80. package/dist/cjs/role.d.ts.map +0 -1
  81. package/dist/cjs/role.js +0 -363
  82. package/dist/cjs/role.js.map +0 -1
  83. package/dist/cjs/roleTemplate.d.ts +0 -73
  84. package/dist/cjs/roleTemplate.d.ts.map +0 -1
  85. package/dist/cjs/roleTemplate.js +0 -236
  86. package/dist/cjs/roleTemplate.js.map +0 -1
  87. package/dist/cjs/security.d.ts +0 -27
  88. package/dist/cjs/security.d.ts.map +0 -1
  89. package/dist/cjs/security.js +0 -79
  90. package/dist/cjs/security.js.map +0 -1
  91. package/dist/cjs/skill.d.ts +0 -141
  92. package/dist/cjs/skill.d.ts.map +0 -1
  93. package/dist/cjs/skill.js +0 -440
  94. package/dist/cjs/skill.js.map +0 -1
  95. package/dist/cjs/skillAssessmentTestingSession.d.ts +0 -49
  96. package/dist/cjs/skillAssessmentTestingSession.d.ts.map +0 -1
  97. package/dist/cjs/skillAssessmentTestingSession.js +0 -156
  98. package/dist/cjs/skillAssessmentTestingSession.js.map +0 -1
  99. package/dist/cjs/skillAssessments.d.ts +0 -49
  100. package/dist/cjs/skillAssessments.d.ts.map +0 -1
  101. package/dist/cjs/skillAssessments.js +0 -156
  102. package/dist/cjs/skillAssessments.js.map +0 -1
  103. package/dist/cjs/skillTemplate.d.ts +0 -87
  104. package/dist/cjs/skillTemplate.d.ts.map +0 -1
  105. package/dist/cjs/skillTemplate.js +0 -281
  106. package/dist/cjs/skillTemplate.js.map +0 -1
  107. package/dist/cjs/talentTransfromation.d.ts +0 -29
  108. package/dist/cjs/talentTransfromation.d.ts.map +0 -1
  109. package/dist/cjs/talentTransfromation.js +0 -100
  110. package/dist/cjs/talentTransfromation.js.map +0 -1
  111. package/dist/cjs/teams.d.ts +0 -85
  112. package/dist/cjs/teams.d.ts.map +0 -1
  113. package/dist/cjs/teams.js +0 -252
  114. package/dist/cjs/teams.js.map +0 -1
  115. package/dist/cjs/tenants.d.ts +0 -16
  116. package/dist/cjs/tenants.d.ts.map +0 -1
  117. package/dist/cjs/tenants.js +0 -55
  118. package/dist/cjs/tenants.js.map +0 -1
  119. package/dist/cjs/trainingPlans.d.ts +0 -92
  120. package/dist/cjs/trainingPlans.d.ts.map +0 -1
  121. package/dist/cjs/trainingPlans.js +0 -309
  122. package/dist/cjs/trainingPlans.js.map +0 -1
  123. package/dist/cjs/trainingPlansProficiencyLevels.d.ts +0 -32
  124. package/dist/cjs/trainingPlansProficiencyLevels.d.ts.map +0 -1
  125. package/dist/cjs/trainingPlansProficiencyLevels.js +0 -97
  126. package/dist/cjs/trainingPlansProficiencyLevels.js.map +0 -1
  127. package/dist/cjs/userInformation.d.ts +0 -29
  128. package/dist/cjs/userInformation.d.ts.map +0 -1
  129. package/dist/cjs/userInformation.js +0 -81
  130. package/dist/cjs/userInformation.js.map +0 -1
  131. package/dist/cjs/users.d.ts +0 -206
  132. package/dist/cjs/users.d.ts.map +0 -1
  133. package/dist/cjs/users.js +0 -694
  134. package/dist/cjs/users.js.map +0 -1
  135. package/dist/cjs/utils.d.ts +0 -14
  136. package/dist/cjs/utils.d.ts.map +0 -1
  137. package/dist/cjs/utils.js +0 -58
  138. package/dist/cjs/utils.js.map +0 -1
  139. package/dist/esm/actionNotifications.d.ts +0 -24
  140. package/dist/esm/actionNotifications.d.ts.map +0 -1
  141. package/dist/esm/actionNotifications.js +0 -67
  142. package/dist/esm/actionNotifications.js.map +0 -1
  143. package/dist/esm/address.d.ts +0 -8
  144. package/dist/esm/address.d.ts.map +0 -1
  145. package/dist/esm/address.js +0 -20
  146. package/dist/esm/address.js.map +0 -1
  147. package/dist/esm/aiAssistant.d.ts +0 -42
  148. package/dist/esm/aiAssistant.d.ts.map +0 -1
  149. package/dist/esm/aiAssistant.js +0 -126
  150. package/dist/esm/aiAssistant.js.map +0 -1
  151. package/dist/esm/avatar.d.ts +0 -11
  152. package/dist/esm/avatar.d.ts.map +0 -1
  153. package/dist/esm/avatar.js +0 -28
  154. package/dist/esm/avatar.js.map +0 -1
  155. package/dist/esm/axiosClient.d.ts +0 -31
  156. package/dist/esm/axiosClient.d.ts.map +0 -1
  157. package/dist/esm/axiosClient.js +0 -78
  158. package/dist/esm/axiosClient.js.map +0 -1
  159. package/dist/esm/config.d.ts +0 -23
  160. package/dist/esm/config.d.ts.map +0 -1
  161. package/dist/esm/config.js +0 -57
  162. package/dist/esm/config.js.map +0 -1
  163. package/dist/esm/constants.d.ts +0 -69
  164. package/dist/esm/constants.d.ts.map +0 -1
  165. package/dist/esm/constants.js +0 -88
  166. package/dist/esm/constants.js.map +0 -1
  167. package/dist/esm/dashboard.d.ts +0 -23
  168. package/dist/esm/dashboard.d.ts.map +0 -1
  169. package/dist/esm/dashboard.js +0 -68
  170. package/dist/esm/dashboard.js.map +0 -1
  171. package/dist/esm/departmentTrainingPlans.d.ts +0 -53
  172. package/dist/esm/departmentTrainingPlans.d.ts.map +0 -1
  173. package/dist/esm/departmentTrainingPlans.js +0 -144
  174. package/dist/esm/departmentTrainingPlans.js.map +0 -1
  175. package/dist/esm/groups.d.ts +0 -90
  176. package/dist/esm/groups.d.ts.map +0 -1
  177. package/dist/esm/groups.js +0 -258
  178. package/dist/esm/groups.js.map +0 -1
  179. package/dist/esm/index.d.ts +0 -33
  180. package/dist/esm/index.d.ts.map +0 -1
  181. package/dist/esm/index.js +0 -33
  182. package/dist/esm/index.js.map +0 -1
  183. package/dist/esm/integration.d.ts +0 -82
  184. package/dist/esm/integration.d.ts.map +0 -1
  185. package/dist/esm/integration.js +0 -299
  186. package/dist/esm/integration.js.map +0 -1
  187. package/dist/esm/integrationConfiguration.d.ts +0 -27
  188. package/dist/esm/integrationConfiguration.d.ts.map +0 -1
  189. package/dist/esm/integrationConfiguration.js +0 -80
  190. package/dist/esm/integrationConfiguration.js.map +0 -1
  191. package/dist/esm/integrations/contentGenerator.d.ts +0 -22
  192. package/dist/esm/integrations/contentGenerator.d.ts.map +0 -1
  193. package/dist/esm/integrations/contentGenerator.js +0 -64
  194. package/dist/esm/integrations/contentGenerator.js.map +0 -1
  195. package/dist/esm/learningContent.d.ts +0 -122
  196. package/dist/esm/learningContent.d.ts.map +0 -1
  197. package/dist/esm/learningContent.js +0 -376
  198. package/dist/esm/learningContent.js.map +0 -1
  199. package/dist/esm/learningPath.d.ts +0 -64
  200. package/dist/esm/learningPath.d.ts.map +0 -1
  201. package/dist/esm/learningPath.js +0 -194
  202. package/dist/esm/learningPath.js.map +0 -1
  203. package/dist/esm/logger.d.ts +0 -19
  204. package/dist/esm/logger.d.ts.map +0 -1
  205. package/dist/esm/logger.js +0 -55
  206. package/dist/esm/logger.js.map +0 -1
  207. package/dist/esm/microSkillsQuizes.d.ts +0 -18
  208. package/dist/esm/microSkillsQuizes.d.ts.map +0 -1
  209. package/dist/esm/microSkillsQuizes.js +0 -48
  210. package/dist/esm/microSkillsQuizes.js.map +0 -1
  211. package/dist/esm/quotas.d.ts +0 -15
  212. package/dist/esm/quotas.d.ts.map +0 -1
  213. package/dist/esm/quotas.js +0 -45
  214. package/dist/esm/quotas.js.map +0 -1
  215. package/dist/esm/role.d.ts +0 -113
  216. package/dist/esm/role.d.ts.map +0 -1
  217. package/dist/esm/role.js +0 -346
  218. package/dist/esm/role.js.map +0 -1
  219. package/dist/esm/roleTemplate.d.ts +0 -73
  220. package/dist/esm/roleTemplate.d.ts.map +0 -1
  221. package/dist/esm/roleTemplate.js +0 -224
  222. package/dist/esm/roleTemplate.js.map +0 -1
  223. package/dist/esm/security.d.ts +0 -27
  224. package/dist/esm/security.d.ts.map +0 -1
  225. package/dist/esm/security.js +0 -72
  226. package/dist/esm/security.js.map +0 -1
  227. package/dist/esm/skill.d.ts +0 -141
  228. package/dist/esm/skill.d.ts.map +0 -1
  229. package/dist/esm/skill.js +0 -418
  230. package/dist/esm/skill.js.map +0 -1
  231. package/dist/esm/skillAssessmentTestingSession.d.ts +0 -49
  232. package/dist/esm/skillAssessmentTestingSession.d.ts.map +0 -1
  233. package/dist/esm/skillAssessmentTestingSession.js +0 -147
  234. package/dist/esm/skillAssessmentTestingSession.js.map +0 -1
  235. package/dist/esm/skillAssessments.d.ts +0 -49
  236. package/dist/esm/skillAssessments.d.ts.map +0 -1
  237. package/dist/esm/skillAssessments.js +0 -147
  238. package/dist/esm/skillAssessments.js.map +0 -1
  239. package/dist/esm/skillTemplate.d.ts +0 -87
  240. package/dist/esm/skillTemplate.d.ts.map +0 -1
  241. package/dist/esm/skillTemplate.js +0 -267
  242. package/dist/esm/skillTemplate.js.map +0 -1
  243. package/dist/esm/talentTransfromation.d.ts +0 -29
  244. package/dist/esm/talentTransfromation.d.ts.map +0 -1
  245. package/dist/esm/talentTransfromation.js +0 -93
  246. package/dist/esm/talentTransfromation.js.map +0 -1
  247. package/dist/esm/teams.d.ts +0 -85
  248. package/dist/esm/teams.d.ts.map +0 -1
  249. package/dist/esm/teams.js +0 -238
  250. package/dist/esm/teams.js.map +0 -1
  251. package/dist/esm/tenants.d.ts +0 -16
  252. package/dist/esm/tenants.d.ts.map +0 -1
  253. package/dist/esm/tenants.js +0 -50
  254. package/dist/esm/tenants.js.map +0 -1
  255. package/dist/esm/trainingPlans.d.ts +0 -92
  256. package/dist/esm/trainingPlans.d.ts.map +0 -1
  257. package/dist/esm/trainingPlans.js +0 -293
  258. package/dist/esm/trainingPlans.js.map +0 -1
  259. package/dist/esm/trainingPlansProficiencyLevels.d.ts +0 -32
  260. package/dist/esm/trainingPlansProficiencyLevels.d.ts.map +0 -1
  261. package/dist/esm/trainingPlansProficiencyLevels.js +0 -90
  262. package/dist/esm/trainingPlansProficiencyLevels.js.map +0 -1
  263. package/dist/esm/userInformation.d.ts +0 -29
  264. package/dist/esm/userInformation.d.ts.map +0 -1
  265. package/dist/esm/userInformation.js +0 -75
  266. package/dist/esm/userInformation.js.map +0 -1
  267. package/dist/esm/users.d.ts +0 -206
  268. package/dist/esm/users.d.ts.map +0 -1
  269. package/dist/esm/users.js +0 -663
  270. package/dist/esm/users.js.map +0 -1
  271. package/dist/esm/utils.d.ts +0 -14
  272. package/dist/esm/utils.d.ts.map +0 -1
  273. package/dist/esm/utils.js +0 -50
  274. package/dist/esm/utils.js.map +0 -1
@@ -1,49 +0,0 @@
1
- /**
2
- * Add new entry skill assessment
3
- * @param {String} id
4
- * @param {Object} data
5
- * @param {String} comments
6
- * @param {String} token Authorization token
7
- * @returns {Promise<object>}
8
- */
9
- export declare const addEntry: (id: string, data: object, comments: string, token: string) => Promise<object>;
10
- /**
11
- * Create skill assessment
12
- * @param {Object} data
13
- * @param {String} comments
14
- * @param {String} userId
15
- * @param {String} token Authorization token
16
- * @returns {Promise<object>}
17
- */
18
- export declare const create: (data: object, comments: string, userId: string, token: string) => Promise<object>;
19
- /**
20
- * Delete skill assessment
21
- * @param {number} id The id of the skill to be deleted
22
- * @param {String} comments The comments included with the deletion
23
- * @param {String} token Authorization token
24
- * @returns {Promise<object>}
25
- */
26
- export declare const deleteSkillAssessment: (id: number, comments: string, token: string) => Promise<object>;
27
- /**
28
- * Get skill assessment by id
29
- * @param {String} id
30
- * @param {String} token
31
- * @returns {Promise<object>}
32
- */
33
- export declare const getById: (id: string, token: string) => Promise<object>;
34
- /**
35
- * Get skill assessment by user and skill
36
- * @param {String} userId
37
- * @param {String} skillId
38
- * @param {String} token
39
- * @returns {Promise<object>} The skill assessment
40
- */
41
- export declare const getByUserAndSkill: (userId: string, skillId: string, token: string) => Promise<object>;
42
- /**
43
- * Get list
44
- * @param {String} userId The user used to select the skill
45
- * @param {String} token Authorization token
46
- * @returns {Promise<object>}
47
- */
48
- export declare const getList: (userId: string, token: string) => Promise<object>;
49
- //# sourceMappingURL=skillAssessments.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"skillAssessments.d.ts","sourceRoot":"","sources":["../../src/lib/skillAssessments.ts"],"names":[],"mappings":"AAGA;;;;;;;GAOG;AACH,eAAO,MAAM,QAAQ,OACf,MAAM,QACJ,MAAM,YACF,MAAM,SACT,MAAM,KACZ,OAAO,CAAC,MAAM,CAsBhB,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,MAAM,SACX,MAAM,YACF,MAAM,UACR,MAAM,SACP,MAAM,KACZ,OAAO,CAAC,MAAM,CAsBhB,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,qBAAqB,OAC5B,MAAM,YACA,MAAM,SACT,MAAM,KACZ,OAAO,CAAC,MAAM,CAkBhB,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,OAAO,OAAQ,MAAM,SAAS,MAAM,KAAG,OAAO,CAAC,MAAM,CAajE,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,iBAAiB,WACpB,MAAM,WACL,MAAM,SACR,MAAM,KACZ,OAAO,CAAC,MAAM,CAgBhB,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,OAAO,WAAY,MAAM,SAAS,MAAM,KAAG,OAAO,CAAC,MAAM,CAmBrE,CAAC"}
@@ -1,147 +0,0 @@
1
- import { client } from "./axiosClient";
2
- /**
3
- * Add new entry skill assessment
4
- * @param {String} id
5
- * @param {Object} data
6
- * @param {String} comments
7
- * @param {String} token Authorization token
8
- * @returns {Promise<object>}
9
- */
10
- export const addEntry = (id, data, comments, token) => {
11
- return new Promise((resolve, reject) => {
12
- const requestData = {
13
- comments: comments,
14
- data: data,
15
- id: id,
16
- };
17
- const confirmationRequest = client.put("api/v1/skillassessments/addentry", requestData, {
18
- headers: { authorization: token },
19
- });
20
- confirmationRequest
21
- .then((response) => {
22
- resolve(response.data);
23
- })
24
- .catch((error) => {
25
- reject(error);
26
- });
27
- });
28
- };
29
- /**
30
- * Create skill assessment
31
- * @param {Object} data
32
- * @param {String} comments
33
- * @param {String} userId
34
- * @param {String} token Authorization token
35
- * @returns {Promise<object>}
36
- */
37
- export const create = (data, comments, userId, token) => {
38
- return new Promise((resolve, reject) => {
39
- const requestData = {
40
- comments: comments,
41
- data: data,
42
- userId: userId,
43
- };
44
- const confirmationRequest = client.put("api/v1/skillassessments/", requestData, {
45
- headers: { authorization: token },
46
- });
47
- confirmationRequest
48
- .then((response) => {
49
- resolve(response.data);
50
- })
51
- .catch((error) => {
52
- reject(error);
53
- });
54
- });
55
- };
56
- /**
57
- * Delete skill assessment
58
- * @param {number} id The id of the skill to be deleted
59
- * @param {String} comments The comments included with the deletion
60
- * @param {String} token Authorization token
61
- * @returns {Promise<object>}
62
- */
63
- export const deleteSkillAssessment = (id, comments, token) => {
64
- return new Promise((resolve, reject) => {
65
- const data = {
66
- id: id,
67
- };
68
- if (comments)
69
- data.comments = comments;
70
- const request = client.delete(`api/v1/skillassessments`, {
71
- headers: { authorization: token },
72
- data: data,
73
- });
74
- request
75
- .then((response) => {
76
- resolve(response.data);
77
- })
78
- .catch((error) => {
79
- reject(error);
80
- });
81
- });
82
- };
83
- /**
84
- * Get skill assessment by id
85
- * @param {String} id
86
- * @param {String} token
87
- * @returns {Promise<object>}
88
- */
89
- export const getById = (id, token) => {
90
- return new Promise((resolve, reject) => {
91
- const confirmationRequest = client.get(`api/v1/skillassessments/${id}`, {
92
- headers: { authorization: token },
93
- });
94
- confirmationRequest
95
- .then((response) => {
96
- resolve(response.data);
97
- })
98
- .catch((error) => {
99
- reject(error);
100
- });
101
- });
102
- };
103
- /**
104
- * Get skill assessment by user and skill
105
- * @param {String} userId
106
- * @param {String} skillId
107
- * @param {String} token
108
- * @returns {Promise<object>} The skill assessment
109
- */
110
- export const getByUserAndSkill = (userId, skillId, token) => {
111
- return new Promise((resolve, reject) => {
112
- const confirmationRequest = client.get(`api/v1/skillassessments/getbyuserandskill/${userId}/${skillId}`, {
113
- headers: { authorization: token },
114
- });
115
- confirmationRequest
116
- .then((response) => {
117
- resolve(response.data);
118
- })
119
- .catch((error) => {
120
- reject(error);
121
- });
122
- });
123
- };
124
- /**
125
- * Get list
126
- * @param {String} userId The user used to select the skill
127
- * @param {String} token Authorization token
128
- * @returns {Promise<object>}
129
- */
130
- export const getList = (userId, token) => {
131
- return new Promise((resolve, reject) => {
132
- const requestData = {};
133
- if (userId)
134
- requestData.userId = userId;
135
- const confirmationRequest = client.post(`api/v1/skillassessments`, requestData, {
136
- headers: { authorization: token },
137
- });
138
- confirmationRequest
139
- .then((response) => {
140
- resolve(response.data);
141
- })
142
- .catch((error) => {
143
- reject(error);
144
- });
145
- });
146
- };
147
- //# sourceMappingURL=skillAssessments.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"skillAssessments.js","sourceRoot":"","sources":["../../src/lib/skillAssessments.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAEvC;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,QAAQ,GAAG,CACtB,EAAU,EACV,IAAY,EACZ,QAAgB,EAChB,KAAa,EACI,EAAE;IACnB,OAAO,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE;QACrC,MAAM,WAAW,GAAG;YAClB,QAAQ,EAAE,QAAQ;YAClB,IAAI,EAAE,IAAI;YACV,EAAE,EAAE,EAAE;SACP,CAAC;QACF,MAAM,mBAAmB,GAAG,MAAM,CAAC,GAAG,CACpC,kCAAkC,EAClC,WAAW,EACX;YACE,OAAO,EAAE,EAAE,aAAa,EAAE,KAAK,EAAE;SAClC,CACF,CAAC;QACF,mBAAmB;aAChB,IAAI,CAAC,CAAC,QAAwB,EAAE,EAAE;YACjC,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;QACzB,CAAC,CAAC;aACD,KAAK,CAAC,CAAC,KAAkB,EAAE,EAAE;YAC5B,MAAM,CAAC,KAAK,CAAC,CAAC;QAChB,CAAC,CAAC,CAAC;IACP,CAAC,CAAC,CAAC;AACL,CAAC,CAAC;AAEF;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,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AC,CAAC;IACP,CAAC,CAAC,CAAC;AACL,CAAC,CAAC;AAEF;;;;;GAKG;AACH,MAAM,CAAC,MAAM,OAAO,GAAG,CAAC,MAAc,EAAE,KAAa,EAAmB,EAAE;IACxE,OAAO,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE;QACrC,MAAM,WAAW,GAAwB,EAAE,CAAC;QAC5C,IAAI,MAAM;YAAE,WAAW,CAAC,MAAM,GAAG,MAAM,CAAC;QACxC,MAAM,mBAAmB,GAAG,MAAM,CAAC,IAAI,CACrC,yBAAyB,EACzB,WAAW,EACX;YACE,OAAO,EAAE,EAAE,aAAa,EAAE,KAAK,EAAE;SAClC,CACF,CAAC;QACF,mBAAmB;aAChB,IAAI,CAAC,CAAC,QAAwB,EAAE,EAAE;YACjC,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;QACzB,CAAC,CAAC;aACD,KAAK,CAAC,CAAC,KAAkB,EAAE,EAAE;YAC5B,MAAM,CAAC,KAAK,CAAC,CAAC;QAChB,CAAC,CAAC,CAAC;IACP,CAAC,CAAC,CAAC;AACL,CAAC,CAAC"}
@@ -1,87 +0,0 @@
1
- /**
2
- * Create skill template and set information
3
- * @param {Object} data
4
- * @param {String} token Authorization token
5
- * @returns {Promise<object>}
6
- */
7
- export declare const createSkillTemplate: (data: object, token: string) => Promise<object>;
8
- /**
9
- * Delete skill template
10
- * @param {number} id The id of the template to be deleted
11
- * @param {String} comments The comments included with the deletion
12
- * @param {String} token Authorization token
13
- * @returns {Promise<object>}
14
- */
15
- export declare const deleteSkillTemplate: (id: number, comments: string, token: string) => Promise<object>;
16
- /**
17
- * Discard the skill template draft changes
18
- * @param {String} id The id of the skill template to be deleted
19
- * @param {String} token Authorization token
20
- * @returns {Promise<object>}
21
- */
22
- export declare const discardSkillTemplateChanges: (id: string, token: string) => Promise<object>;
23
- /**
24
- * Get skill template information
25
- * @param {String} id The id of the template
26
- * @param {String} version The version of the template
27
- * @param {Boolean} returnNullIfVersionNotFound When true it will return null if the version is not found
28
- * @param {String} token Authorization token
29
- * @returns {Promise<object>}
30
- */
31
- export declare const getSkillTemplateInformationById: (id: string, version: string, returnNullIfVersionNotFound: boolean, token: string) => Promise<object>;
32
- /**
33
- * Get skill template list
34
- * @param {Array<String>} filter The filter used to select the template
35
- * @param {String} version The version to be retrieved
36
- * @param {Boolean} includeDeleted When true it will return the deleted records as well
37
- * @param {Boolean} namesOnly When true it will return only the names of the templates
38
- * @param {String} token Authorization token
39
- * @returns {Promise<object>}
40
- */
41
- export declare const getSkillTemplateList: (filter: string[], version: string, includeDeleted: boolean, namesOnly: boolean, token: string) => Promise<object>;
42
- /**
43
- * Get skill technology stacks template list
44
- * @param {String} token Authorization token
45
- * @returns {Promise<object>}
46
- */
47
- export declare const getTechnologyStacks: (token: string) => Promise<object>;
48
- /**
49
- * Publish template
50
- * @param {number} id The id of the template to be published
51
- * @param {String} comments The comments to be include with the request
52
- * @param {String} token Authorization token
53
- * @returns {Promise<object>}
54
- */
55
- export declare const publishTemplate: (id: number, comments: string, token: string) => Promise<object>;
56
- /**
57
- * Set template profile information
58
- * @param {String} id The id of the template to be updated
59
- * @param {Object} data Data used to update the template
60
- * @param {String} token Authorization token
61
- * @returns {Promise<object>}
62
- */
63
- export declare const setTemplateInformation: (id: string, data: object, token: string) => Promise<object>;
64
- /**
65
- * Update the skill template tags
66
- * @param {String} id The id of the template to be updated
67
- * @param {Object} tags Updated template tags
68
- * @param {String} token Authorization token
69
- * @returns {Promise<object>}
70
- */
71
- export declare const setTemplateTags: (id: string, tags: object, token: string) => Promise<object>;
72
- /**
73
- * Validate skill template information
74
- * @param {String} id The id of the skill to be updated
75
- * @param {String} token Authorization token
76
- * @returns {Promise<object>}
77
- */
78
- export declare const validateTemplate: (id: string, token: string) => Promise<object>;
79
- /**
80
- * Watch skill template
81
- * @param {String} id The id of the skill template to be updated
82
- * @param {Boolean} watch Set to true or false
83
- * @param {String} token Authorization token
84
- * @returns {Promise<object>}
85
- */
86
- export declare const watchSkillTemplate: (id: string, watch: boolean, token: string) => Promise<object>;
87
- //# sourceMappingURL=skillTemplate.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"skillTemplate.d.ts","sourceRoot":"","sources":["../../src/lib/skillTemplate.ts"],"names":[],"mappings":"AAGA;;;;;GAKG;AACH,eAAO,MAAM,mBAAmB,SAAU,MAAM,SAAS,MAAM,KAAG,OAAO,CAAC,MAAM,CAgB/E,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,mBAAmB,OAC1B,MAAM,YACA,MAAM,SACT,MAAM,KACZ,OAAO,CAAC,MAAM,CAkBhB,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,2BAA2B,OAClC,MAAM,SACH,MAAM,KACZ,OAAO,CAAC,MAAM,CAehB,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,+BAA+B,OACtC,MAAM,WACD,MAAM,+BACc,OAAO,SAC7B,MAAM,KACZ,OAAO,CAAC,MAAM,CAgBhB,CAAC;AAEF;;;;;;;;GAQG;AACH,eAAO,MAAM,oBAAoB,WACvB,MAAM,EAAE,WACP,MAAM,kBACC,OAAO,aACZ,OAAO,SACX,MAAM,KACZ,OAAO,CAAC,MAAM,CAuBhB,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,mBAAmB,UAAW,MAAM,KAAG,OAAO,CAAC,MAAM,CAajE,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,eAAe,OACtB,MAAM,YACA,MAAM,SACT,MAAM,KACZ,OAAO,CAAC,MAAM,CAmBhB,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,sBAAsB,OAC7B,MAAM,QACJ,MAAM,SACL,MAAM,KACZ,OAAO,CAAC,MAAM,CAqBhB,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,eAAe,OACtB,MAAM,QACJ,MAAM,SACL,MAAM,KACZ,OAAO,CAAC,MAAM,CAqBhB,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,gBAAgB,OAAQ,MAAM,SAAS,MAAM,KAAG,OAAO,CAAC,MAAM,CAoB1E,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,kBAAkB,OACzB,MAAM,SACH,OAAO,SACP,MAAM,KACZ,OAAO,CAAC,MAAM,CAqBhB,CAAC"}
@@ -1,267 +0,0 @@
1
- import { client } from "./axiosClient";
2
- /**
3
- * Create skill template and set information
4
- * @param {Object} data
5
- * @param {String} token Authorization token
6
- * @returns {Promise<object>}
7
- */
8
- export const createSkillTemplate = (data, token) => {
9
- return new Promise((resolve, reject) => {
10
- const requestData = {
11
- data: data,
12
- };
13
- const confirmationRequest = client.put("api/v1/skilltemplates", requestData, {
14
- headers: { authorization: token },
15
- });
16
- confirmationRequest
17
- .then((response) => {
18
- resolve(response.data);
19
- })
20
- .catch((error) => {
21
- reject(error);
22
- });
23
- });
24
- };
25
- /**
26
- * Delete skill template
27
- * @param {number} id The id of the template to be deleted
28
- * @param {String} comments The comments included with the deletion
29
- * @param {String} token Authorization token
30
- * @returns {Promise<object>}
31
- */
32
- export const deleteSkillTemplate = (id, comments, token) => {
33
- const data = {
34
- id: id,
35
- };
36
- if (comments)
37
- data.comments = comments;
38
- return new Promise((resolve, reject) => {
39
- const request = client.delete(`api/v1/skilltemplates/`, {
40
- headers: { authorization: token },
41
- data: data,
42
- });
43
- request
44
- .then((response) => {
45
- resolve(response.data);
46
- })
47
- .catch((error) => {
48
- reject(error);
49
- });
50
- });
51
- };
52
- /**
53
- * Discard the skill template draft changes
54
- * @param {String} id The id of the skill template to be deleted
55
- * @param {String} token Authorization token
56
- * @returns {Promise<object>}
57
- */
58
- export const discardSkillTemplateChanges = (id, token) => {
59
- return new Promise((resolve, reject) => {
60
- const data = {};
61
- const request = client.get(`api/v1/skilltemplates/discard/${id}`, {
62
- headers: { authorization: token },
63
- data: data,
64
- });
65
- request
66
- .then((response) => {
67
- resolve(response.data);
68
- })
69
- .catch((error) => {
70
- reject(error);
71
- });
72
- });
73
- };
74
- /**
75
- * Get skill template information
76
- * @param {String} id The id of the template
77
- * @param {String} version The version of the template
78
- * @param {Boolean} returnNullIfVersionNotFound When true it will return null if the version is not found
79
- * @param {String} token Authorization token
80
- * @returns {Promise<object>}
81
- */
82
- export const getSkillTemplateInformationById = (id, version, returnNullIfVersionNotFound, token) => {
83
- return new Promise((resolve, reject) => {
84
- const confirmationRequest = client.get(`api/v1/skilltemplates/${id}/${version}/${returnNullIfVersionNotFound}`, {
85
- headers: { authorization: token },
86
- });
87
- confirmationRequest
88
- .then((response) => {
89
- resolve(response.data);
90
- })
91
- .catch((error) => {
92
- reject(error);
93
- });
94
- });
95
- };
96
- /**
97
- * Get skill template list
98
- * @param {Array<String>} filter The filter used to select the template
99
- * @param {String} version The version to be retrieved
100
- * @param {Boolean} includeDeleted When true it will return the deleted records as well
101
- * @param {Boolean} namesOnly When true it will return only the names of the templates
102
- * @param {String} token Authorization token
103
- * @returns {Promise<object>}
104
- */
105
- export const getSkillTemplateList = (filter, version, includeDeleted, namesOnly, token) => {
106
- return new Promise((resolve, reject) => {
107
- const requestData = {
108
- includeDeleted: includeDeleted,
109
- namesOnly: namesOnly,
110
- version: version,
111
- };
112
- if (filter)
113
- requestData.filter = filter;
114
- const confirmationRequest = client.post(`api/v1/skilltemplates`, requestData, {
115
- headers: { authorization: token },
116
- });
117
- confirmationRequest
118
- .then((response) => {
119
- resolve(response.data);
120
- })
121
- .catch((error) => {
122
- reject(error);
123
- });
124
- });
125
- };
126
- /**
127
- * Get skill technology stacks template list
128
- * @param {String} token Authorization token
129
- * @returns {Promise<object>}
130
- */
131
- export const getTechnologyStacks = (token) => {
132
- return new Promise((resolve, reject) => {
133
- const confirmationRequest = client.get(`api/v1/skilltemplates/stacks`, {
134
- headers: { authorization: token },
135
- });
136
- confirmationRequest
137
- .then((response) => {
138
- resolve(response.data);
139
- })
140
- .catch((error) => {
141
- reject(error);
142
- });
143
- });
144
- };
145
- /**
146
- * Publish template
147
- * @param {number} id The id of the template to be published
148
- * @param {String} comments The comments to be include with the request
149
- * @param {String} token Authorization token
150
- * @returns {Promise<object>}
151
- */
152
- export const publishTemplate = (id, comments, token) => {
153
- return new Promise((resolve, reject) => {
154
- const data = {};
155
- if (comments)
156
- data.comments = comments;
157
- const confirmationRequest = client.post(`api/v1/skilltemplates/publish/${id}`, data, {
158
- headers: { authorization: token },
159
- });
160
- confirmationRequest
161
- .then((response) => {
162
- resolve(response.data);
163
- })
164
- .catch((error) => {
165
- reject(error);
166
- });
167
- });
168
- };
169
- /**
170
- * Set template profile information
171
- * @param {String} id The id of the template to be updated
172
- * @param {Object} data Data used to update the template
173
- * @param {String} token Authorization token
174
- * @returns {Promise<object>}
175
- */
176
- export const setTemplateInformation = (id, data, token) => {
177
- return new Promise((resolve, reject) => {
178
- const requestData = {
179
- data: data,
180
- id: id,
181
- };
182
- const confirmationRequest = client.post(`api/v1/skilltemplates/update`, requestData, {
183
- headers: { authorization: token },
184
- });
185
- confirmationRequest
186
- .then((response) => {
187
- resolve(response.data);
188
- })
189
- .catch((error) => {
190
- reject(error);
191
- });
192
- });
193
- };
194
- /**
195
- * Update the skill template tags
196
- * @param {String} id The id of the template to be updated
197
- * @param {Object} tags Updated template tags
198
- * @param {String} token Authorization token
199
- * @returns {Promise<object>}
200
- */
201
- export const setTemplateTags = (id, tags, token) => {
202
- return new Promise((resolve, reject) => {
203
- const requestData = {
204
- tags: tags,
205
- id: id,
206
- };
207
- const confirmationRequest = client.post(`api/v1/skilltemplates/updatetags/`, requestData, {
208
- headers: { authorization: token },
209
- });
210
- confirmationRequest
211
- .then((response) => {
212
- resolve(response.data);
213
- })
214
- .catch((error) => {
215
- reject(error);
216
- });
217
- });
218
- };
219
- /**
220
- * Validate skill template information
221
- * @param {String} id The id of the skill to be updated
222
- * @param {String} token Authorization token
223
- * @returns {Promise<object>}
224
- */
225
- export const validateTemplate = (id, token) => {
226
- return new Promise((resolve, reject) => {
227
- const requestData = {
228
- id: id,
229
- };
230
- const confirmationRequest = client.post(`api/v1/skilltemplates/validate/`, requestData, {
231
- headers: { authorization: token },
232
- });
233
- confirmationRequest
234
- .then((response) => {
235
- resolve(response.data);
236
- })
237
- .catch((error) => {
238
- reject(error);
239
- });
240
- });
241
- };
242
- /**
243
- * Watch skill template
244
- * @param {String} id The id of the skill template to be updated
245
- * @param {Boolean} watch Set to true or false
246
- * @param {String} token Authorization token
247
- * @returns {Promise<object>}
248
- */
249
- export const watchSkillTemplate = (id, watch, token) => {
250
- return new Promise((resolve, reject) => {
251
- const requestData = {
252
- id: id,
253
- watch: watch,
254
- };
255
- const confirmationRequest = client.post(`api/v1/skilltemplates/watch`, requestData, {
256
- headers: { authorization: token },
257
- });
258
- confirmationRequest
259
- .then((response) => {
260
- resolve(response.data);
261
- })
262
- .catch((error) => {
263
- reject(error);
264
- });
265
- });
266
- };
267
- //# sourceMappingURL=skillTemplate.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"skillTemplate.js","sourceRoot":"","sources":["../../src/lib/skillTemplate.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAEvC;;;;;GAKG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,IAAY,EAAE,KAAa,EAAmB,EAAE;IAClF,OAAO,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE;QACrC,MAAM,WAAW,GAAG;YAClB,IAAI,EAAE,IAAI;SACX,CAAC;QACF,MAAM,mBAAmB,GAAG,MAAM,CAAC,GAAG,CAAC,uBAAuB,EAAE,WAAW,EAAE;YAC3E,OAAO,EAAE,EAAE,aAAa,EAAE,KAAK,EAAE;SAClC,CAAC,CAAC;QACH,mBAAmB;aAChB,IAAI,CAAC,CAAC,QAAwB,EAAE,EAAE;YACjC,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;QACzB,CAAC,CAAC;aACD,KAAK,CAAC,CAAC,KAAkB,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QACrC,MAAM,WAAW,GAAG;YAClB,EAAE,EAAE,EAAE;YACN,KAAK,EAAE,KAAK;SACb,CAAC;QACF,MAAM,mBAAmB,GAAG,MAAM,CAAC,IAAI,CACrC,6BAA6B,EAC7B,WAAW,EACX;YACE,OAAO,EAAE,EAAE,aAAa,EAAE,KAAK,EAAE;SAClC,CACF,CAAC;QACF,mBAAmB;aAChB,IAAI,CAAC,CAAC,QAAwB,EAAE,EAAE;YACjC,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;QACzB,CAAC,CAAC;aACD,KAAK,CAAC,CAAC,KAAkB,EAAE,EAAE;YAC5B,MAAM,CAAC,KAAK,CAAC,CAAC;QAChB,CAAC,CAAC,CAAC;IACP,CAAC,CAAC,CAAC;AACL,CAAC,CAAC"}
@@ -1,29 +0,0 @@
1
- /**
2
- * Get talent transformation steps for the current user
3
- * @param {String} authToken The authentication token
4
- * @returns {Promise<object>}
5
- */
6
- export declare const getTalentTransformationStepsForCurrentUser: (authToken: string) => Promise<object>;
7
- /**
8
- * Get the talent transformation summary for the whole organization
9
- * @param {String} authToken
10
- * @returns {Promise<object>} The talent transformation summary
11
- */
12
- export declare const getTalentTransformationSummary: (authToken: string) => Promise<object>;
13
- /**
14
- * Get the talent transformation summary for the team
15
- * @param {String} teamId
16
- * @param {String} authToken
17
- * @returns {Promise<object>} The talent transformation summary
18
- */
19
- export declare const getTalentTransformationSummaryForTeam: (teamId: string, authToken: string) => Promise<object>;
20
- /**
21
- * Set talent transformation step data
22
- * @param {String} id The id of the talent transformation step to be updated
23
- * @param {Object} data Data used to update the talent transformation step
24
- * @param {Boolean} returnAllStepsStatuses If true, return all steps statuses
25
- * @param {String} token Authorization token
26
- * @returns {Promise<object>}
27
- */
28
- export declare const setTalentTransformationStepData: (id: string, data: object, returnAllStepsStatuses: boolean, token: string) => Promise<object>;
29
- //# sourceMappingURL=talentTransfromation.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"talentTransfromation.d.ts","sourceRoot":"","sources":["../../src/lib/talentTransfromation.ts"],"names":[],"mappings":"AAGA;;;;GAIG;AACH,eAAO,MAAM,0CAA0C,cAC1C,MAAM,KAChB,OAAO,CAAC,MAAM,CAkBhB,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,8BAA8B,cAAe,MAAM,KAAG,OAAO,CAAC,MAAM,CAkBhF,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,qCAAqC,WACxC,MAAM,aACH,MAAM,KAChB,OAAO,CAAC,MAAM,CAkBhB,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,+BAA+B,OACtC,MAAM,QACJ,MAAM,0BACY,OAAO,SACxB,MAAM,KACZ,OAAO,CAAC,MAAM,CAsBhB,CAAC"}