16 lines
596 B
JavaScript
16 lines
596 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);
|
|
require('../methods/zone/getZoneClosing')(Self);
|
|
|
|
Self.validatesPresenceOf('agencyModeFk', {
|
|
message: `Agency cannot be blank`
|
|
});
|
|
};
|