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 _0x756c=['util','../../config/logger','moment','request-promise','path','rimraf','../../config/environment','./schedule.attributes','exports','define','Schedule','tools_schedules'];(function(_0x4cd297,_0x214715){var _0x1083f4=function(_0x1bc521){while(--_0x1bc521){_0x4cd297['push'](_0x4cd297['shift']());}};_0x1083f4(++_0x214715);}(_0x756c,0x1bc));var _0xc756=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x756c[_0x3dd15e];return _0x231fd0;};'use strict';var _=require('lodash');var util=require(_0xc756('0x0'));var logger=require(_0xc756('0x1'))('api');var moment=require(_0xc756('0x2'));var BPromise=require('bluebird');var rp=require(_0xc756('0x3'));var fs=require('fs');var path=require(_0xc756('0x4'));var rimraf=require(_0xc756('0x5'));var config=require(_0xc756('0x6'));var attributes=require(_0xc756('0x7'));module[_0xc756('0x8')]=function(_0x53a134,_0xa0b1ba){return _0x53a134[_0xc756('0x9')](_0xc756('0xa'),attributes,{'tableName':_0xc756('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};