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 _0xf5e8=['tools_schedules','util','../../config/logger','moment','bluebird','request-promise','path','../../config/environment','./schedule.attributes','Schedule'];(function(_0x16b8e4,_0x2a2c8f){var _0x3a9093=function(_0xfbbff4){while(--_0xfbbff4){_0x16b8e4['push'](_0x16b8e4['shift']());}};_0x3a9093(++_0x2a2c8f);}(_0xf5e8,0x137));var _0x8f5e=function(_0x46e523,_0xe6fccb){_0x46e523=_0x46e523-0x0;var _0x5da0ee=_0xf5e8[_0x46e523];return _0x5da0ee;};'use strict';var _=require('lodash');var util=require(_0x8f5e('0x0'));var logger=require(_0x8f5e('0x1'))('api');var moment=require(_0x8f5e('0x2'));var BPromise=require(_0x8f5e('0x3'));var rp=require(_0x8f5e('0x4'));var fs=require('fs');var path=require(_0x8f5e('0x5'));var rimraf=require('rimraf');var config=require(_0x8f5e('0x6'));var attributes=require(_0x8f5e('0x7'));module['exports']=function(_0x2dbb01,_0x24acd3){return _0x2dbb01['define'](_0x8f5e('0x8'),attributes,{'tableName':_0x8f5e('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};