This repository has been archived by the owner on Oct 15, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.js
73 lines (64 loc) · 2.13 KB
/
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
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
var meta = require('./lib/meta');
module.exports = {
error: {
VehicleNotFoundError: require('./lib/error/vehicleNotFoundError').VehicleNotFoundError,
ServiceUnavailableError: require('./lib/error/serviceUnavailableError').ServiceUnavailableError,
InvalidVehiclePlateError: require('./lib/error/invalidVehiclePlateError').InvalidVehiclePlateError
},
builder: {
carResponseBuilder: require('./lib/builder/vehicleResponseBuilder'),
eventsResponseBuilder: require('./lib/builder/eventsResponseBuilder'),
responseBuilder: require('./lib/builder/responseBuilder')
},
resolver: {
resolver: require('./lib/resolver/resolver'),
eventsResolver: require('./lib/resolver/eventsResolver'),
vehicleResolver: require('./lib/resolver/vehicleResolver')
},
enum: {
eventEnum: require('./lib/enum/eventEnum'),
variantEnum: require('./lib/enum/variantEnum'),
mileageEnum: require('./lib/enum/mileageEnum')
},
model: {
/**
* the searchCarRequest model and builder.
* @property searchCarRequest
* @type searchCarRequest
* @static
*/
searchCarRequest: require('./lib/model/searchCarRequest'),
/**
* the car model and builder.
* @property car
* @type car
* @static
*/
car: require('./lib/model/response/car'),
/**
* the report model and builder.
* @property report
* @type report
* @static
*/
report: require('./lib/model/response/report'),
/**
* the vehicleReportsCollection model and builder.
* @property vehicleReportsCollection
* @type vehicleReportsCollection
* @static
*/
vehicleReportsCollection: require('./lib/model/response/vehicleReportsCollection'),
changedRegistrationLocationEvent: require('./lib/model/response/event/changedRegistrationLocationEvent'),
inspectionEvent: require('./lib/model/response/event/inspectionEvent'),
location: require('./lib/model/response/vehicle/location'),
mileage: require('./lib/model/response/vehicle/mileage')
},
/**
* the version of the library
* @property VERSION
* @type String
* @static
*/
VERSION: meta.VERSION
};