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 _0x8715=['./schedule.attributes','exports','Schedule','tools_schedules','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment'];(function(_0x3e1be1,_0x18e1bf){var _0x263af6=function(_0x37a8e9){while(--_0x37a8e9){_0x3e1be1['push'](_0x3e1be1['shift']());}};_0x263af6(++_0x18e1bf);}(_0x8715,0x93));var _0x5871=function(_0x40a046,_0x54b2a3){_0x40a046=_0x40a046-0x0;var _0x5f35b4=_0x8715[_0x40a046];return _0x5f35b4;};'use strict';var _=require('lodash');var util=require(_0x5871('0x0'));var logger=require(_0x5871('0x1'))(_0x5871('0x2'));var moment=require(_0x5871('0x3'));var BPromise=require(_0x5871('0x4'));var rp=require(_0x5871('0x5'));var fs=require('fs');var path=require(_0x5871('0x6'));var rimraf=require(_0x5871('0x7'));var config=require(_0x5871('0x8'));var attributes=require(_0x5871('0x9'));module[_0x5871('0xa')]=function(_0x545098,_0x2131d7){return _0x545098['define'](_0x5871('0xb'),attributes,{'tableName':_0x5871('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};