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 _0x2c37=['rimraf','./schedule.attributes','exports','Schedule','tools_schedules','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path'];(function(_0x324012,_0x23f45f){var _0x435cf2=function(_0x378a82){while(--_0x378a82){_0x324012['push'](_0x324012['shift']());}};_0x435cf2(++_0x23f45f);}(_0x2c37,0xe2));var _0x72c3=function(_0x4a9170,_0x28e249){_0x4a9170=_0x4a9170-0x0;var _0x5eadef=_0x2c37[_0x4a9170];return _0x5eadef;};'use strict';var _=require(_0x72c3('0x0'));var util=require(_0x72c3('0x1'));var logger=require(_0x72c3('0x2'))(_0x72c3('0x3'));var moment=require(_0x72c3('0x4'));var BPromise=require(_0x72c3('0x5'));var rp=require(_0x72c3('0x6'));var fs=require('fs');var path=require(_0x72c3('0x7'));var rimraf=require(_0x72c3('0x8'));var config=require('../../config/environment');var attributes=require(_0x72c3('0x9'));module[_0x72c3('0xa')]=function(_0x204d03,_0x48ff5a){return _0x204d03['define'](_0x72c3('0xb'),attributes,{'tableName':_0x72c3('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};