Built motion from commit 0900f080.|2.5.45
[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 _0x6aae=['rimraf','../../config/environment','./schedule.attributes','exports','define','tools_schedules','../../config/logger','moment','bluebird','request-promise','path'];(function(_0x492e38,_0x3e2c16){var _0x2b1ffa=function(_0x1263e6){while(--_0x1263e6){_0x492e38['push'](_0x492e38['shift']());}};_0x2b1ffa(++_0x3e2c16);}(_0x6aae,0x15b));var _0xe6aa=function(_0xd6845f,_0x463f5f){_0xd6845f=_0xd6845f-0x0;var _0xe91109=_0x6aae[_0xd6845f];return _0xe91109;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0xe6aa('0x0'))('api');var moment=require(_0xe6aa('0x1'));var BPromise=require(_0xe6aa('0x2'));var rp=require(_0xe6aa('0x3'));var fs=require('fs');var path=require(_0xe6aa('0x4'));var rimraf=require(_0xe6aa('0x5'));var config=require(_0xe6aa('0x6'));var attributes=require(_0xe6aa('0x7'));module[_0xe6aa('0x8')]=function(_0x2dadb3,_0x5814b3){return _0x2dadb3[_0xe6aa('0x9')]('Schedule',attributes,{'tableName':_0xe6aa('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};