Built motion from commit 8c034dcd.|2.6.31
[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 _0x6e10=['exports','define','tools_schedules','lodash','util','../../config/logger','api','moment','request-promise','path','rimraf','../../config/environment','./schedule.attributes'];(function(_0x2e7a43,_0x3b3df4){var _0x52e9e1=function(_0x2c08cf){while(--_0x2c08cf){_0x2e7a43['push'](_0x2e7a43['shift']());}};_0x52e9e1(++_0x3b3df4);}(_0x6e10,0xd3));var _0x06e1=function(_0x4841be,_0x37f5bb){_0x4841be=_0x4841be-0x0;var _0x2dab66=_0x6e10[_0x4841be];return _0x2dab66;};'use strict';var _=require(_0x06e1('0x0'));var util=require(_0x06e1('0x1'));var logger=require(_0x06e1('0x2'))(_0x06e1('0x3'));var moment=require(_0x06e1('0x4'));var BPromise=require('bluebird');var rp=require(_0x06e1('0x5'));var fs=require('fs');var path=require(_0x06e1('0x6'));var rimraf=require(_0x06e1('0x7'));var config=require(_0x06e1('0x8'));var attributes=require(_0x06e1('0x9'));module[_0x06e1('0xa')]=function(_0x11fbdd,_0x5e296f){return _0x11fbdd[_0x06e1('0xb')]('Schedule',attributes,{'tableName':_0x06e1('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};