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 _0x75ba=['lodash','../../config/logger','api','moment','bluebird','request-promise','./schedule.attributes','exports','define','Schedule'];(function(_0x2f2742,_0x1ef9d3){var _0x44954c=function(_0x268415){while(--_0x268415){_0x2f2742['push'](_0x2f2742['shift']());}};_0x44954c(++_0x1ef9d3);}(_0x75ba,0x154));var _0xa75b=function(_0x277107,_0x3420dc){_0x277107=_0x277107-0x0;var _0x1da046=_0x75ba[_0x277107];return _0x1da046;};'use strict';var _=require(_0xa75b('0x0'));var util=require('util');var logger=require(_0xa75b('0x1'))(_0xa75b('0x2'));var moment=require(_0xa75b('0x3'));var BPromise=require(_0xa75b('0x4'));var rp=require(_0xa75b('0x5'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0xa75b('0x6'));module[_0xa75b('0x7')]=function(_0x571540,_0x24350d){return _0x571540[_0xa75b('0x8')](_0xa75b('0x9'),attributes,{'tableName':'tools_schedules','paranoid':![],'indexes':[],'timestamps':!![]});};