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 _0x4fb1=['tools_schedules','lodash','util','bluebird','request-promise','path','rimraf','../../config/environment','./schedule.attributes','exports','define'];(function(_0x2b37ee,_0x48fa7b){var _0x430f6b=function(_0x4a2e1f){while(--_0x4a2e1f){_0x2b37ee['push'](_0x2b37ee['shift']());}};_0x430f6b(++_0x48fa7b);}(_0x4fb1,0x7a));var _0x14fb=function(_0x1385be,_0x3be0ea){_0x1385be=_0x1385be-0x0;var _0x1328e5=_0x4fb1[_0x1385be];return _0x1328e5;};'use strict';var _=require(_0x14fb('0x0'));var util=require(_0x14fb('0x1'));var logger=require('../../config/logger')('api');var moment=require('moment');var BPromise=require(_0x14fb('0x2'));var rp=require(_0x14fb('0x3'));var fs=require('fs');var path=require(_0x14fb('0x4'));var rimraf=require(_0x14fb('0x5'));var config=require(_0x14fb('0x6'));var attributes=require(_0x14fb('0x7'));module[_0x14fb('0x8')]=function(_0x34f2bc,_0x4ce5bd){return _0x34f2bc[_0x14fb('0x9')]('Schedule',attributes,{'tableName':_0x14fb('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};