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 _0x9dc5=['../../config/environment','./schedule.attributes','exports','define','tools_schedules','lodash','../../config/logger','api','bluebird','rimraf'];(function(_0x21a2b3,_0x5d6564){var _0x4651a7=function(_0x285f59){while(--_0x285f59){_0x21a2b3['push'](_0x21a2b3['shift']());}};_0x4651a7(++_0x5d6564);}(_0x9dc5,0xcd));var _0x59dc=function(_0x388eea,_0x340518){_0x388eea=_0x388eea-0x0;var _0x4a175b=_0x9dc5[_0x388eea];return _0x4a175b;};'use strict';var _=require(_0x59dc('0x0'));var util=require('util');var logger=require(_0x59dc('0x1'))(_0x59dc('0x2'));var moment=require('moment');var BPromise=require(_0x59dc('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0x59dc('0x4'));var config=require(_0x59dc('0x5'));var attributes=require(_0x59dc('0x6'));module[_0x59dc('0x7')]=function(_0x199077,_0x3252d0){return _0x199077[_0x59dc('0x8')]('Schedule',attributes,{'tableName':_0x59dc('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};