f2dc5cc3380544bab8bc298920795e140c0c1ac5
[motion2.git] / server / api / schedule / schedule.model.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
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.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0xc80c=['./schedule.attributes','define','Schedule','tools_schedules','lodash','util','../../config/logger','api','moment','request-promise'];(function(_0x5d6e8a,_0x31f5bf){var _0x92bef0=function(_0x13ad40){while(--_0x13ad40){_0x5d6e8a['push'](_0x5d6e8a['shift']());}};_0x92bef0(++_0x31f5bf);}(_0xc80c,0xfe));var _0xcc80=function(_0x11c573,_0x9e7c6e){_0x11c573=_0x11c573-0x0;var _0x6b72de=_0xc80c[_0x11c573];return _0x6b72de;};'use strict';var _=require(_0xcc80('0x0'));var util=require(_0xcc80('0x1'));var logger=require(_0xcc80('0x2'))(_0xcc80('0x3'));var moment=require(_0xcc80('0x4'));var BPromise=require('bluebird');var rp=require(_0xcc80('0x5'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0xcc80('0x6'));module['exports']=function(_0x3d8cb0,_0x249064){return _0x3d8cb0[_0xcc80('0x7')](_0xcc80('0x8'),attributes,{'tableName':_0xcc80('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};