Built motion from commit (unavailable).|2.5.4
[motion2.git] / server / api / schedule / schedule.model.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
13 // * The SOFTWARE PRODUCT is protected by copyright laws and international *
14 // * copyright treaties, as well as other intellectual property laws and   *
15 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0xa222=['./schedule.attributes','define','Schedule','tools_schedules','util','../../config/logger','moment','request-promise','path','rimraf','../../config/environment'];(function(_0x16716e,_0x3b8362){var _0x4d5a77=function(_0x18d99e){while(--_0x18d99e){_0x16716e['push'](_0x16716e['shift']());}};_0x4d5a77(++_0x3b8362);}(_0xa222,0x17a));var _0x2a22=function(_0x44606e,_0x2bf244){_0x44606e=_0x44606e-0x0;var _0xe68388=_0xa222[_0x44606e];return _0xe68388;};'use strict';var _=require('lodash');var util=require(_0x2a22('0x0'));var logger=require(_0x2a22('0x1'))('api');var moment=require(_0x2a22('0x2'));var BPromise=require('bluebird');var rp=require(_0x2a22('0x3'));var fs=require('fs');var path=require(_0x2a22('0x4'));var rimraf=require(_0x2a22('0x5'));var config=require(_0x2a22('0x6'));var attributes=require(_0x2a22('0x7'));module['exports']=function(_0x25429a,_0x4a8001){return _0x25429a[_0x2a22('0x8')](_0x2a22('0x9'),attributes,{'tableName':_0x2a22('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};