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 _0xeba6=['request-promise','../../config/environment','./schedule.attributes','exports','define','Schedule','tools_schedules','lodash','util','../../config/logger','api','moment','bluebird'];(function(_0x5d2803,_0xf375bd){var _0xdcad2c=function(_0x3c3a98){while(--_0x3c3a98){_0x5d2803['push'](_0x5d2803['shift']());}};_0xdcad2c(++_0xf375bd);}(_0xeba6,0x125));var _0x6eba=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0xeba6[_0x3dd15e];return _0x231fd0;};'use strict';var _=require(_0x6eba('0x0'));var util=require(_0x6eba('0x1'));var logger=require(_0x6eba('0x2'))(_0x6eba('0x3'));var moment=require(_0x6eba('0x4'));var BPromise=require(_0x6eba('0x5'));var rp=require(_0x6eba('0x6'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0x6eba('0x7'));var attributes=require(_0x6eba('0x8'));module[_0x6eba('0x9')]=function(_0x3d4f1a,_0x3299b7){return _0x3d4f1a[_0x6eba('0xa')](_0x6eba('0xb'),attributes,{'tableName':_0x6eba('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};