1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
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. *
17 // *************************************************************************
18 var _0x7ad6=['bluebird','request-promise','path','rimraf','../../config/environment','./schedule.attributes','Schedule','tools_schedules','../../config/logger','api'];(function(_0x23c482,_0x518417){var _0x5c16b3=function(_0x2b2951){while(--_0x2b2951){_0x23c482['push'](_0x23c482['shift']());}};_0x5c16b3(++_0x518417);}(_0x7ad6,0x134));var _0x67ad=function(_0x3b380d,_0x4bf247){_0x3b380d=_0x3b380d-0x0;var _0x54502b=_0x7ad6[_0x3b380d];return _0x54502b;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0x67ad('0x0'))(_0x67ad('0x1'));var moment=require('moment');var BPromise=require(_0x67ad('0x2'));var rp=require(_0x67ad('0x3'));var fs=require('fs');var path=require(_0x67ad('0x4'));var rimraf=require(_0x67ad('0x5'));var config=require(_0x67ad('0x6'));var attributes=require(_0x67ad('0x7'));module['exports']=function(_0x2b6463,_0x2db732){return _0x2b6463['define'](_0x67ad('0x8'),attributes,{'tableName':_0x67ad('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};