Built motion from commit b5413ace.|2.6.9
[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 _0xc82c=['request-promise','path','rimraf','./schedule.attributes','exports','Schedule','lodash','util','../../config/logger','api','moment','bluebird'];(function(_0x4baae2,_0x487ab6){var _0x1a2285=function(_0x1cea47){while(--_0x1cea47){_0x4baae2['push'](_0x4baae2['shift']());}};_0x1a2285(++_0x487ab6);}(_0xc82c,0x14a));var _0xcc82=function(_0x465028,_0x4570ac){_0x465028=_0x465028-0x0;var _0xb783d4=_0xc82c[_0x465028];return _0xb783d4;};'use strict';var _=require(_0xcc82('0x0'));var util=require(_0xcc82('0x1'));var logger=require(_0xcc82('0x2'))(_0xcc82('0x3'));var moment=require(_0xcc82('0x4'));var BPromise=require(_0xcc82('0x5'));var rp=require(_0xcc82('0x6'));var fs=require('fs');var path=require(_0xcc82('0x7'));var rimraf=require(_0xcc82('0x8'));var config=require('../../config/environment');var attributes=require(_0xcc82('0x9'));module[_0xcc82('0xa')]=function(_0x1f6ad2,_0x54b88b){return _0x1f6ad2['define'](_0xcc82('0xb'),attributes,{'tableName':'tools_schedules','paranoid':![],'indexes':[],'timestamps':!![]});};