Built motion from commit e1760111.|2.6.18
[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 _0x631b=['Schedule','tools_schedules','lodash','util','../../config/logger','api','bluebird','rimraf','../../config/environment','./schedule.attributes','exports','define'];(function(_0x250c9e,_0xd9984e){var _0x19780c=function(_0x3a5922){while(--_0x3a5922){_0x250c9e['push'](_0x250c9e['shift']());}};_0x19780c(++_0xd9984e);}(_0x631b,0xf2));var _0xb631=function(_0x3fbb91,_0x5ec106){_0x3fbb91=_0x3fbb91-0x0;var _0x3eb213=_0x631b[_0x3fbb91];return _0x3eb213;};'use strict';var _=require(_0xb631('0x0'));var util=require(_0xb631('0x1'));var logger=require(_0xb631('0x2'))(_0xb631('0x3'));var moment=require('moment');var BPromise=require(_0xb631('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0xb631('0x5'));var config=require(_0xb631('0x6'));var attributes=require(_0xb631('0x7'));module[_0xb631('0x8')]=function(_0xbe2bfa,_0xe39567){return _0xbe2bfa[_0xb631('0x9')](_0xb631('0xa'),attributes,{'tableName':_0xb631('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};