@stackfactor/client-api 1.1.132 → 1.1.134

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 (68) hide show
  1. package/dist/actionNotifications.js +4 -4
  2. package/dist/address.js +2 -2
  3. package/dist/aiAssistant.js +6 -6
  4. package/dist/avatar.js +2 -2
  5. package/dist/axiosClient.js +5 -5
  6. package/dist/config.js +4 -4
  7. package/dist/dashboard.js +4 -4
  8. package/dist/departmentTrainingPlans.js +7 -7
  9. package/dist/exports.js +77 -0
  10. package/dist/groups.js +13 -13
  11. package/dist/index.js +77 -0
  12. package/dist/integration.js +12 -12
  13. package/dist/integrationConfiguration.js +4 -4
  14. package/dist/integrations/contentGenerator.js +3 -3
  15. package/dist/learningContent.js +16 -16
  16. package/dist/learningPath.js +9 -9
  17. package/dist/logger.js +3 -3
  18. package/dist/microSkillsQuizes.js +3 -3
  19. package/dist/quotas.js +3 -3
  20. package/dist/role.js +15 -15
  21. package/dist/roleTemplate.js +10 -10
  22. package/dist/security.js +5 -5
  23. package/dist/skill.js +19 -19
  24. package/dist/skillAssessmentTestingSession.js +7 -7
  25. package/dist/skillAssessments.js +7 -7
  26. package/dist/skillTemplate.js +12 -12
  27. package/dist/talentTransfromation.js +5 -5
  28. package/dist/teams.js +12 -12
  29. package/dist/tenants.js +3 -3
  30. package/dist/trainingPlans.js +13 -13
  31. package/dist/trainingPlansProficiencyLevels.js +5 -5
  32. package/dist/userInformation.js +4 -4
  33. package/dist/users.js +28 -28
  34. package/package.json +1 -1
  35. package/src/lib/actionNotifications.ts +1 -1
  36. package/src/lib/address.ts +1 -1
  37. package/src/lib/aiAssistant.ts +1 -1
  38. package/src/lib/avatar.ts +1 -1
  39. package/src/lib/axiosClient.ts +2 -2
  40. package/src/lib/config.ts +1 -1
  41. package/src/lib/dashboard.ts +1 -1
  42. package/src/lib/departmentTrainingPlans.ts +1 -1
  43. package/src/lib/groups.ts +1 -1
  44. package/src/lib/index.ts +85 -0
  45. package/src/lib/integration.ts +1 -1
  46. package/src/lib/integrationConfiguration.ts +1 -1
  47. package/src/lib/integrations/contentGenerator.ts +1 -1
  48. package/src/lib/learningContent.ts +1 -1
  49. package/src/lib/learningPath.ts +1 -1
  50. package/src/lib/logger.ts +1 -1
  51. package/src/lib/microSkillsQuizes.ts +1 -1
  52. package/src/lib/quotas.ts +1 -1
  53. package/src/lib/role.ts +1 -1
  54. package/src/lib/roleTemplate.ts +1 -1
  55. package/src/lib/security.ts +1 -1
  56. package/src/lib/skill.ts +1 -1
  57. package/src/lib/skillAssessmentTestingSession.ts +1 -1
  58. package/src/lib/skillAssessments.ts +1 -1
  59. package/src/lib/skillTemplate.ts +1 -1
  60. package/src/lib/talentTransfromation.ts +1 -1
  61. package/src/lib/teams.ts +1 -1
  62. package/src/lib/tenants.ts +1 -1
  63. package/src/lib/trainingPlans.ts +1 -1
  64. package/src/lib/trainingPlansProficiencyLevels.ts +1 -1
  65. package/src/lib/userInformation.ts +1 -1
  66. package/src/lib/users.ts +1 -1
  67. package/exports.ts +0 -85
  68. package/index.ts +0 -1
@@ -0,0 +1,85 @@
1
+ import actionNotifications from "./actionNotifications";
2
+ import {
3
+ client,
4
+ errorToString,
5
+ getErrorInformation,
6
+ getErrorType,
7
+ shouldReturnError,
8
+ } from "./axiosClient";
9
+ import aiAssistant from "./aiAssistant";
10
+ import avatar from "./avatar";
11
+ import address from "./address";
12
+ import config from "./config";
13
+ import {
14
+ DOCUMENT_VERSION,
15
+ PERMISSIONS,
16
+ PERMISSION_DESCRIPTIONS,
17
+ RESPONSE_TYPE,
18
+ } from "./constants";
19
+ import contentGenerator from "./integrations/contentGenerator";
20
+ import dashboard from "./dashboard";
21
+ import departmentTraingPlans from "./departmentTrainingPlans";
22
+ import integration from "./integration";
23
+ import integrationConfiguration from "./integrationConfiguration";
24
+ import groups from "./groups";
25
+ import learningContent from "./learningContent";
26
+ import learningPath from "./learningPath";
27
+ import logger from "./logger";
28
+ import microSkillsQuizes from "./microSkillsQuizes";
29
+ import quotas from "./quotas";
30
+ import role from "./role";
31
+ import roleTemplate from "./roleTemplate";
32
+ import security from "./security";
33
+ import skill from "./skill";
34
+ import skillAssessment from "./skillAssessments";
35
+ import skillAssessmentTestingSession from "./skillAssessmentTestingSession";
36
+ import skillTemplate from "./skillTemplate";
37
+ import talentTransfromation from "./talentTransfromation";
38
+ import team from "./teams";
39
+ import tenant from "./tenants";
40
+ import trainingPlan from "./trainingPlans";
41
+ import trainingPlanProficiencyLevel from "./trainingPlansProficiencyLevels";
42
+ import userInformation from "./userInformation";
43
+ import users from "./users";
44
+
45
+ export {
46
+ actionNotifications,
47
+ address,
48
+ aiAssistant,
49
+ avatar,
50
+ client,
51
+ config,
52
+ contentGenerator,
53
+ dashboard,
54
+ errorToString,
55
+ getErrorInformation,
56
+ getErrorType,
57
+ DOCUMENT_VERSION,
58
+ integration,
59
+ integrationConfiguration,
60
+ departmentTraingPlans,
61
+ groups,
62
+ learningContent,
63
+ learningPath,
64
+ logger,
65
+ microSkillsQuizes,
66
+ PERMISSIONS,
67
+ PERMISSION_DESCRIPTIONS,
68
+ quotas,
69
+ RESPONSE_TYPE,
70
+ role,
71
+ roleTemplate,
72
+ security,
73
+ shouldReturnError,
74
+ skill,
75
+ skillAssessment,
76
+ skillAssessmentTestingSession,
77
+ skillTemplate,
78
+ talentTransfromation,
79
+ team,
80
+ tenant,
81
+ trainingPlan,
82
+ trainingPlanProficiencyLevel,
83
+ userInformation,
84
+ users,
85
+ };
@@ -1,4 +1,4 @@
1
- import { client, errorToString } from "./axiosClient.js";
1
+ import { client, errorToString } from "./axiosClient";
2
2
  import axiosLib from "axios";
3
3
  import htmlParser from "node-html-parser";
4
4
  import htmlToText from "html2plaintext";
@@ -1,4 +1,4 @@
1
- import { client } from "./axiosClient.js";
1
+ import { client } from "./axiosClient";
2
2
 
3
3
  /**
4
4
  * Get the integration configuration
@@ -1,4 +1,4 @@
1
- import { client } from "../axiosClient.js";
1
+ import { client } from "../axiosClient";
2
2
 
3
3
  interface GenerateContentData {
4
4
  data: string[];
@@ -1,4 +1,4 @@
1
- import { client } from "./axiosClient.js";
1
+ import { client } from "./axiosClient";
2
2
 
3
3
  interface LearningContentData {
4
4
  data?: object;
@@ -1,4 +1,4 @@
1
- import { client } from "./axiosClient.js";
1
+ import { client } from "./axiosClient";
2
2
 
3
3
  interface LearningPathData {
4
4
  data?: object;
package/src/lib/logger.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { client } from "./axiosClient.js";
1
+ import { client } from "./axiosClient";
2
2
 
3
3
  /**
4
4
  * Create comments for a specified element id
@@ -1,4 +1,4 @@
1
- import { client } from "./axiosClient.js";
1
+ import { client } from "./axiosClient";
2
2
 
3
3
  /**
4
4
  * Get responses for a microskill quiz
package/src/lib/quotas.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { client } from "./axiosClient.js";
1
+ import { client } from "./axiosClient";
2
2
 
3
3
  /**
4
4
  * Get the current quota for the user and tenant
package/src/lib/role.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { client } from "./axiosClient.js";
1
+ import { client } from "./axiosClient";
2
2
 
3
3
  /**
4
4
  * Create role and set information
@@ -1,4 +1,4 @@
1
- import { client } from "./axiosClient.js";
1
+ import { client } from "./axiosClient";
2
2
 
3
3
  /**
4
4
  * Create role template and set information
@@ -1,4 +1,4 @@
1
- import { client } from "./axiosClient.js";
1
+ import { client } from "./axiosClient";
2
2
 
3
3
  /**
4
4
  * Get the enabled authentication connections for current organization.
package/src/lib/skill.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { client } from "./axiosClient.js";
1
+ import { client } from "./axiosClient";
2
2
 
3
3
  /**
4
4
  * Create skill and set information
@@ -1,4 +1,4 @@
1
- import { client } from "./axiosClient.js";
1
+ import { client } from "./axiosClient";
2
2
 
3
3
  /**
4
4
  * Add new entry skill assessment
@@ -1,4 +1,4 @@
1
- import { client } from "./axiosClient.js";
1
+ import { client } from "./axiosClient";
2
2
 
3
3
  /**
4
4
  * Add new entry skill assessment
@@ -1,4 +1,4 @@
1
- import { client } from "./axiosClient.js";
1
+ import { client } from "./axiosClient";
2
2
 
3
3
  /**
4
4
  * Create skill template and set information
@@ -1,4 +1,4 @@
1
- import { client } from "./axiosClient.js";
1
+ import { client } from "./axiosClient";
2
2
 
3
3
  /**
4
4
  * Get talent transformation steps for the current user
package/src/lib/teams.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { client } from "./axiosClient.js";
1
+ import { client } from "./axiosClient";
2
2
 
3
3
  /**
4
4
  * Add users to team
@@ -1,4 +1,4 @@
1
- import { client } from "./axiosClient.js";
1
+ import { client } from "./axiosClient";
2
2
 
3
3
  /**
4
4
  * Get tenant information
@@ -1,4 +1,4 @@
1
- import { client } from "./axiosClient.js";
1
+ import { client } from "./axiosClient";
2
2
 
3
3
  /**
4
4
  * Archive the training plan
@@ -1,4 +1,4 @@
1
- import { client } from "./axiosClient.js";
1
+ import { client } from "./axiosClient";
2
2
 
3
3
  /**
4
4
  * Get training plan proficiency level
@@ -1,4 +1,4 @@
1
- import { client } from "./axiosClient.js";
1
+ import { client } from "./axiosClient";
2
2
 
3
3
  /**
4
4
  * Add an entry to an array type business property such as experience, education or certifications
package/src/lib/users.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /* eslint-disable no-undef */
2
- import { client } from "./axiosClient.js";
2
+ import { client } from "./axiosClient";
3
3
 
4
4
  /**
5
5
  * Add a new API Token
package/exports.ts DELETED
@@ -1,85 +0,0 @@
1
- import actionNotifications from "./src/lib/actionNotifications.ts";
2
- import {
3
- client,
4
- errorToString,
5
- getErrorInformation,
6
- getErrorType,
7
- shouldReturnError,
8
- } from "./src/lib/axiosClient.ts";
9
- import aiAssistant from "./src/lib/aiAssistant.ts";
10
- import avatar from "./src/lib/avatar.ts";
11
- import address from "./src/lib/address.ts";
12
- import config from "./src/lib/config.ts";
13
- import {
14
- DOCUMENT_VERSION,
15
- PERMISSIONS,
16
- PERMISSION_DESCRIPTIONS,
17
- RESPONSE_TYPE,
18
- } from "./src/lib/constants.ts";
19
- import contentGenerator from "./src/lib/integrations/contentGenerator.ts";
20
- import dashboard from "./src/lib/dashboard.ts";
21
- import departmentTraingPlans from "./src/lib/departmentTrainingPlans.ts";
22
- import integration from "./src/lib/integration.ts";
23
- import integrationConfiguration from "./src/lib/integrationConfiguration.ts";
24
- import groups from "./src/lib/groups.ts";
25
- import learningContent from "./src/lib/learningContent.ts";
26
- import learningPath from "./src/lib/learningPath.ts";
27
- import logger from "./src/lib/logger.ts";
28
- import microSkillsQuizes from "./src/lib/microSkillsQuizes.ts";
29
- import quotas from "./src/lib/quotas.ts";
30
- import role from "./src/lib/role.ts";
31
- import roleTemplate from "./src/lib/roleTemplate.ts";
32
- import security from "./src/lib/security.ts";
33
- import skill from "./src/lib/skill.ts";
34
- import skillAssessment from "./src/lib/skillAssessments.ts";
35
- import skillAssessmentTestingSession from "./src/lib/skillAssessmentTestingSession.ts";
36
- import skillTemplate from "./src/lib/skillTemplate.ts";
37
- import talentTransfromation from "./src/lib/talentTransfromation.ts";
38
- import team from "./src/lib/teams.ts";
39
- import tenant from "./src/lib/tenants.ts";
40
- import trainingPlan from "./src/lib/trainingPlans.ts";
41
- import trainingPlanProficiencyLevel from "./src/lib/trainingPlansProficiencyLevels.ts";
42
- import userInformation from "./src/lib/userInformation.ts";
43
- import users from "./src/lib/users.ts";
44
-
45
- export {
46
- actionNotifications,
47
- address,
48
- aiAssistant,
49
- avatar,
50
- client,
51
- config,
52
- contentGenerator,
53
- dashboard,
54
- errorToString,
55
- getErrorInformation,
56
- getErrorType,
57
- DOCUMENT_VERSION,
58
- integration,
59
- integrationConfiguration,
60
- departmentTraingPlans,
61
- groups,
62
- learningContent,
63
- learningPath,
64
- logger,
65
- microSkillsQuizes,
66
- PERMISSIONS,
67
- PERMISSION_DESCRIPTIONS,
68
- quotas,
69
- RESPONSE_TYPE,
70
- role,
71
- roleTemplate,
72
- security,
73
- shouldReturnError,
74
- skill,
75
- skillAssessment,
76
- skillAssessmentTestingSession,
77
- skillTemplate,
78
- talentTransfromation,
79
- team,
80
- tenant,
81
- trainingPlan,
82
- trainingPlanProficiencyLevel,
83
- userInformation,
84
- users,
85
- };
package/index.ts DELETED
@@ -1 +0,0 @@
1
- export * from "./exports.ts";