@stackfactor/client-api 1.0.54 → 1.0.55
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.
- package/exports.js +70 -0
- package/index.js +1 -96
- package/package.json +1 -1
package/exports.js
ADDED
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import actionNotifications from "./lib/actionNotifications.js";
|
|
2
|
+
export { actionNotifications };
|
|
3
|
+
import {
|
|
4
|
+
client,
|
|
5
|
+
errorToString,
|
|
6
|
+
getErrorInformation,
|
|
7
|
+
getErrorType,
|
|
8
|
+
shouldReturnError,
|
|
9
|
+
} from "./lib/axiosClient.js";
|
|
10
|
+
import address from "./lib/address.js";
|
|
11
|
+
import config from "./lib/config.js";
|
|
12
|
+
import {
|
|
13
|
+
DOCUMENT_VERSION,
|
|
14
|
+
PERMISSIONS,
|
|
15
|
+
RESPONSE_TYPE,
|
|
16
|
+
} from "./lib/constants.js";
|
|
17
|
+
import contentGenerator from "./lib/integrations/contentGenerator.js";
|
|
18
|
+
import dashboard from "./lib/dashboard.js";
|
|
19
|
+
import departmentTraingPlans from "./lib/departmentTrainingPlans.js";
|
|
20
|
+
import integration from "./lib/integration.js";
|
|
21
|
+
import integrationConfiguration from "./lib/integrationConfiguration.js";
|
|
22
|
+
import groups from "./lib/groups.js";
|
|
23
|
+
import learningContent from "./lib/learningContent.js";
|
|
24
|
+
import logger from "./lib/logger.js";
|
|
25
|
+
import role from "./lib/role.js";
|
|
26
|
+
import roleTemplate from "./lib/roleTemplate.js";
|
|
27
|
+
import skill from "./lib/skill.js";
|
|
28
|
+
import skillAssessment from "./lib/skillAssessments.js";
|
|
29
|
+
import skillAssessmentTestingSession from "./lib/skillAssessmentTestingSession.js";
|
|
30
|
+
import skillTemplate from "./lib/skillTemplate.js";
|
|
31
|
+
import team from "./lib/teams.js";
|
|
32
|
+
import tenant from "./lib/tenants.js";
|
|
33
|
+
import trainingPlanTemplate from "./lib/trainingPlanTemplate.js";
|
|
34
|
+
import trainingPlan from "./lib/trainingPlans.js";
|
|
35
|
+
import userInformation from "./lib/userInformation.js";
|
|
36
|
+
import users from "./lib/users.js";
|
|
37
|
+
|
|
38
|
+
export {
|
|
39
|
+
actionNotifications,
|
|
40
|
+
address,
|
|
41
|
+
client,
|
|
42
|
+
config,
|
|
43
|
+
contentGenerator,
|
|
44
|
+
dashboard,
|
|
45
|
+
errorToString,
|
|
46
|
+
getErrorInformation,
|
|
47
|
+
getErrorType,
|
|
48
|
+
DOCUMENT_VERSION,
|
|
49
|
+
integration,
|
|
50
|
+
integrationConfiguration,
|
|
51
|
+
departmentTraingPlans,
|
|
52
|
+
groups,
|
|
53
|
+
learningContent,
|
|
54
|
+
logger,
|
|
55
|
+
PERMISSIONS,
|
|
56
|
+
RESPONSE_TYPE,
|
|
57
|
+
role,
|
|
58
|
+
roleTemplate,
|
|
59
|
+
shouldReturnError,
|
|
60
|
+
skill,
|
|
61
|
+
skillAssessment,
|
|
62
|
+
skillAssessmentTestingSession,
|
|
63
|
+
skillTemplate,
|
|
64
|
+
team,
|
|
65
|
+
tenant,
|
|
66
|
+
trainingPlanTemplate,
|
|
67
|
+
trainingPlan,
|
|
68
|
+
userInformation,
|
|
69
|
+
users,
|
|
70
|
+
};
|
package/index.js
CHANGED
|
@@ -1,96 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { actionNotifications };
|
|
3
|
-
import {
|
|
4
|
-
client,
|
|
5
|
-
errorToString,
|
|
6
|
-
getErrorInformation,
|
|
7
|
-
getErrorType,
|
|
8
|
-
shouldReturnError,
|
|
9
|
-
} from "./lib/axiosClient.js";
|
|
10
|
-
export {
|
|
11
|
-
client,
|
|
12
|
-
errorToString,
|
|
13
|
-
getErrorInformation,
|
|
14
|
-
getErrorType,
|
|
15
|
-
shouldReturnError,
|
|
16
|
-
};
|
|
17
|
-
import address from "./lib/address.js";
|
|
18
|
-
export { address };
|
|
19
|
-
import config from "./lib/config.js";
|
|
20
|
-
export { config };
|
|
21
|
-
import constants from "./lib/constants.js";
|
|
22
|
-
export { constants };
|
|
23
|
-
import contentGenerator from "./lib/integrations/contentGenerator.js";
|
|
24
|
-
export { contentGenerator };
|
|
25
|
-
import dashboard from "./lib/dashboard.js";
|
|
26
|
-
export { dashboard };
|
|
27
|
-
import departmentTraingPlans from "./lib/departmentTrainingPlans.js";
|
|
28
|
-
export { departmentTraingPlans };
|
|
29
|
-
import integration from "./lib/integration.js";
|
|
30
|
-
export { integration };
|
|
31
|
-
import integrationConfiguration from "./lib/integrationConfiguration.js";
|
|
32
|
-
export { integrationConfiguration };
|
|
33
|
-
import groups from "./lib/groups.js";
|
|
34
|
-
export { groups };
|
|
35
|
-
import learningContent from "./lib/learningContent.js";
|
|
36
|
-
export { learningContent };
|
|
37
|
-
import logger from "./lib/logger.js";
|
|
38
|
-
export { logger };
|
|
39
|
-
import role from "./lib/role.js";
|
|
40
|
-
export { role };
|
|
41
|
-
import roleTemplate from "./lib/roleTemplate.js";
|
|
42
|
-
export { roleTemplate };
|
|
43
|
-
import skill from "./lib/skill.js";
|
|
44
|
-
export { skill };
|
|
45
|
-
import skillAssessment from "./lib/skillAssessments.js";
|
|
46
|
-
export { skillAssessment };
|
|
47
|
-
import skillAssessmentTestingSession from "./lib/skillAssessmentTestingSession.js";
|
|
48
|
-
export { skillAssessmentTestingSession };
|
|
49
|
-
import skillTemplate from "./lib/skillTemplate.js";
|
|
50
|
-
export { skillTemplate };
|
|
51
|
-
import team from "./lib/teams.js";
|
|
52
|
-
export { team };
|
|
53
|
-
import tenant from "./lib/tenants.js";
|
|
54
|
-
export { tenant };
|
|
55
|
-
import trainingPlanTemplate from "./lib/trainingPlanTemplate.js";
|
|
56
|
-
export { trainingPlanTemplate };
|
|
57
|
-
import trainingPlan from "./lib/trainingPlans.js";
|
|
58
|
-
export { trainingPlan };
|
|
59
|
-
import userInformation from "./lib/userInformation.js";
|
|
60
|
-
export { userInformation };
|
|
61
|
-
import users from "./lib/users.js";
|
|
62
|
-
export { users };
|
|
63
|
-
|
|
64
|
-
export default {
|
|
65
|
-
actionNotifications: actionNotifications,
|
|
66
|
-
address: address,
|
|
67
|
-
axios: client,
|
|
68
|
-
config: config,
|
|
69
|
-
contentGenerator: contentGenerator,
|
|
70
|
-
dashboard: dashboard,
|
|
71
|
-
errorToString: errorToString,
|
|
72
|
-
getErrorInformation: getErrorInformation,
|
|
73
|
-
getErrorType: getErrorType,
|
|
74
|
-
DOCUMENT_VERSION: constants.DOCUMENT_VERSION,
|
|
75
|
-
integration: integration,
|
|
76
|
-
integrationConfiguration: integrationConfiguration,
|
|
77
|
-
departmentTraingPlans: departmentTraingPlans,
|
|
78
|
-
groups: groups,
|
|
79
|
-
learningContent: learningContent,
|
|
80
|
-
logger: logger,
|
|
81
|
-
PERMISSIONS: constants.PERMISSIONS,
|
|
82
|
-
RESONSE_TYPE: constants.RESONSE_TYPE,
|
|
83
|
-
role: role,
|
|
84
|
-
roleTemplate: roleTemplate,
|
|
85
|
-
shouldReturnError: shouldReturnError,
|
|
86
|
-
skill: skill,
|
|
87
|
-
skillAssessment: skillAssessment,
|
|
88
|
-
skillAssessmentTestingSession: skillAssessmentTestingSession,
|
|
89
|
-
skillTemplate: skillTemplate,
|
|
90
|
-
team: team,
|
|
91
|
-
tenant: tenant,
|
|
92
|
-
trainingPlanTemplate: trainingPlanTemplate,
|
|
93
|
-
trainingPlan: trainingPlan,
|
|
94
|
-
userInformation: userInformation,
|
|
95
|
-
users: users,
|
|
96
|
-
};
|
|
1
|
+
export * from "./example.js";
|