Built motion from commit (unavailable).|2.6.0
[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 _0xa99e=['api','moment','bluebird','rimraf','../../config/environment','./schedule.attributes','exports','Schedule','tools_schedules','lodash','util'];(function(_0x2ea6b5,_0xe452d7){var _0x41b2d1=function(_0x2157a8){while(--_0x2157a8){_0x2ea6b5['push'](_0x2ea6b5['shift']());}};_0x41b2d1(++_0xe452d7);}(_0xa99e,0x132));var _0xea99=function(_0x4d0fd9,_0x32d2b8){_0x4d0fd9=_0x4d0fd9-0x0;var _0x358b96=_0xa99e[_0x4d0fd9];return _0x358b96;};'use strict';var _=require(_0xea99('0x0'));var util=require(_0xea99('0x1'));var logger=require('../../config/logger')(_0xea99('0x2'));var moment=require(_0xea99('0x3'));var BPromise=require(_0xea99('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0xea99('0x5'));var config=require(_0xea99('0x6'));var attributes=require(_0xea99('0x7'));module[_0xea99('0x8')]=function(_0x7a508e,_0x5d615d){return _0x7a508e['define'](_0xea99('0x9'),attributes,{'tableName':_0xea99('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};