15 lines
543 B
JavaScript
15 lines
543 B
JavaScript
module.exports = Self => {
|
|
require('../methods/zone/clone')(Self);
|
|
require('../methods/zone/getLeaves')(Self);
|
|
require('../methods/zone/getEvents')(Self);
|
|
require('../methods/zone/getEventsFiltered')(Self);
|
|
require('../methods/zone/toggleIsIncluded')(Self);
|
|
require('../methods/zone/getUpcomingDeliveries')(Self);
|
|
require('../methods/zone/deleteZone')(Self);
|
|
require('../methods/zone/includingExpired')(Self);
|
|
|
|
Self.validatesPresenceOf('agencyModeFk', {
|
|
message: `Agency cannot be blank`
|
|
});
|
|
};
|