forked from InterNetX/js-domainrobot-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.js
23 lines (19 loc) · 759 Bytes
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
const DomainRobot = require("./src/Domainrobot");
const DomainRobotHeaders = require("./src/lib/Headers");
const domainrobot = require("./src/swagger/domainrobot.json");
const pcdomains = require("./src/swagger/pcdomains.json");
const ApiFactory = require("./src/lib/Factory");
const PcDomains = new ApiFactory(pcdomains);
const Backend = new ApiFactory(domainrobot);
const DomainRobotModels = Object.assign(Backend.models, PcDomains.models);
const DomainRobotException = require("./src/lib/DomainRobotException");
const DomainRobotService = require("./src/services/DomainRobotService")
//export default Domainrobot;
module.exports = {
DomainRobot,
DomainRobotException,
DomainRobotHeaders,
DomainRobotModels,
DomainRobotService,
ApiFactory
};