Built motion from commit 6a09e18b.|2.6.11
[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 _0xc4d2=['./schedule.attributes','exports','define','Schedule','tools_schedules','lodash','util','../../config/logger','api','moment','path','rimraf','../../config/environment'];(function(_0x4912ae,_0x440f23){var _0x42c612=function(_0x404249){while(--_0x404249){_0x4912ae['push'](_0x4912ae['shift']());}};_0x42c612(++_0x440f23);}(_0xc4d2,0x18b));var _0x2c4d=function(_0x377de1,_0x227dd2){_0x377de1=_0x377de1-0x0;var _0x4d5dd4=_0xc4d2[_0x377de1];return _0x4d5dd4;};'use strict';var _=require(_0x2c4d('0x0'));var util=require(_0x2c4d('0x1'));var logger=require(_0x2c4d('0x2'))(_0x2c4d('0x3'));var moment=require(_0x2c4d('0x4'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0x2c4d('0x5'));var rimraf=require(_0x2c4d('0x6'));var config=require(_0x2c4d('0x7'));var attributes=require(_0x2c4d('0x8'));module[_0x2c4d('0x9')]=function(_0x4f010a,_0x4780ae){return _0x4f010a[_0x2c4d('0xa')](_0x2c4d('0xb'),attributes,{'tableName':_0x2c4d('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};