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 _0x2eeb=['rimraf','../../config/environment','./schedule.attributes','exports','Schedule','tools_schedules','lodash','util','../../config/logger','moment','bluebird','request-promise','path'];(function(_0x122ef9,_0x451d2a){var _0x42fba0=function(_0x17c9d3){while(--_0x17c9d3){_0x122ef9['push'](_0x122ef9['shift']());}};_0x42fba0(++_0x451d2a);}(_0x2eeb,0xc9));var _0xb2ee=function(_0x249fc2,_0x52c16b){_0x249fc2=_0x249fc2-0x0;var _0x4c1320=_0x2eeb[_0x249fc2];return _0x4c1320;};'use strict';var _=require(_0xb2ee('0x0'));var util=require(_0xb2ee('0x1'));var logger=require(_0xb2ee('0x2'))('api');var moment=require(_0xb2ee('0x3'));var BPromise=require(_0xb2ee('0x4'));var rp=require(_0xb2ee('0x5'));var fs=require('fs');var path=require(_0xb2ee('0x6'));var rimraf=require(_0xb2ee('0x7'));var config=require(_0xb2ee('0x8'));var attributes=require(_0xb2ee('0x9'));module[_0xb2ee('0xa')]=function(_0x41eda1,_0x5ccb9a){return _0x41eda1['define'](_0xb2ee('0xb'),attributes,{'tableName':_0xb2ee('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};