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 _0xb749=['exports','define','Schedule','tools_schedules','lodash','util','../../config/logger','bluebird','request-promise','path','../../config/environment','./schedule.attributes'];(function(_0x31e9b4,_0x4473f6){var _0x1ada54=function(_0x46f138){while(--_0x46f138){_0x31e9b4['push'](_0x31e9b4['shift']());}};_0x1ada54(++_0x4473f6);}(_0xb749,0x13c));var _0x9b74=function(_0x5d4f70,_0x5e8506){_0x5d4f70=_0x5d4f70-0x0;var _0x39bc3b=_0xb749[_0x5d4f70];return _0x39bc3b;};'use strict';var _=require(_0x9b74('0x0'));var util=require(_0x9b74('0x1'));var logger=require(_0x9b74('0x2'))('api');var moment=require('moment');var BPromise=require(_0x9b74('0x3'));var rp=require(_0x9b74('0x4'));var fs=require('fs');var path=require(_0x9b74('0x5'));var rimraf=require('rimraf');var config=require(_0x9b74('0x6'));var attributes=require(_0x9b74('0x7'));module[_0x9b74('0x8')]=function(_0x489dfe,_0x3130e8){return _0x489dfe[_0x9b74('0x9')](_0x9b74('0xa'),attributes,{'tableName':_0x9b74('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};