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 _0x390c=['moment','bluebird','exports','define','Schedule','../../config/logger'];(function(_0x25dc76,_0xfae587){var _0x478c85=function(_0x263ae8){while(--_0x263ae8){_0x25dc76['push'](_0x25dc76['shift']());}};_0x478c85(++_0xfae587);}(_0x390c,0x1bb));var _0xc390=function(_0x8cb9fe,_0x1f6561){_0x8cb9fe=_0x8cb9fe-0x0;var _0x49ab31=_0x390c[_0x8cb9fe];return _0x49ab31;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0xc390('0x0'))('api');var moment=require(_0xc390('0x1'));var BPromise=require(_0xc390('0x2'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require('./schedule.attributes');module[_0xc390('0x3')]=function(_0x140918,_0x131305){return _0x140918[_0xc390('0x4')](_0xc390('0x5'),attributes,{'tableName':'tools_schedules','paranoid':![],'indexes':[],'timestamps':!![]});};