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 _0xdfd8=['bluebird','request-promise','rimraf','../../config/environment','./schedule.attributes','Schedule','tools_schedules','util','moment'];(function(_0x158f01,_0x12af3e){var _0x5ef74e=function(_0x5e7adc){while(--_0x5e7adc){_0x158f01['push'](_0x158f01['shift']());}};_0x5ef74e(++_0x12af3e);}(_0xdfd8,0x19c));var _0x8dfd=function(_0x2789b5,_0x2dbdaf){_0x2789b5=_0x2789b5-0x0;var _0x1b1421=_0xdfd8[_0x2789b5];return _0x1b1421;};'use strict';var _=require('lodash');var util=require(_0x8dfd('0x0'));var logger=require('../../config/logger')('api');var moment=require(_0x8dfd('0x1'));var BPromise=require(_0x8dfd('0x2'));var rp=require(_0x8dfd('0x3'));var fs=require('fs');var path=require('path');var rimraf=require(_0x8dfd('0x4'));var config=require(_0x8dfd('0x5'));var attributes=require(_0x8dfd('0x6'));module['exports']=function(_0x2ba3e7,_0x200138){return _0x2ba3e7['define'](_0x8dfd('0x7'),attributes,{'tableName':_0x8dfd('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};