Built motion from commit (unavailable).|2.5.2
[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 _0xcd0b=['path','rimraf','../../config/environment','./schedule.attributes','exports','Schedule','tools_schedules','util','../../config/logger','api','moment','bluebird','request-promise'];(function(_0x1237b1,_0x19ce6b){var _0x429a0c=function(_0x52144e){while(--_0x52144e){_0x1237b1['push'](_0x1237b1['shift']());}};_0x429a0c(++_0x19ce6b);}(_0xcd0b,0xca));var _0xbcd0=function(_0x583fc6,_0x355254){_0x583fc6=_0x583fc6-0x0;var _0x580750=_0xcd0b[_0x583fc6];return _0x580750;};'use strict';var _=require('lodash');var util=require(_0xbcd0('0x0'));var logger=require(_0xbcd0('0x1'))(_0xbcd0('0x2'));var moment=require(_0xbcd0('0x3'));var BPromise=require(_0xbcd0('0x4'));var rp=require(_0xbcd0('0x5'));var fs=require('fs');var path=require(_0xbcd0('0x6'));var rimraf=require(_0xbcd0('0x7'));var config=require(_0xbcd0('0x8'));var attributes=require(_0xbcd0('0x9'));module[_0xbcd0('0xa')]=function(_0x23466e,_0x242c29){return _0x23466e['define'](_0xbcd0('0xb'),attributes,{'tableName':_0xbcd0('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};