Built motion from commit b58257bb.|2.5.37
[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 _0x6406=['api','bluebird','request-promise','path','rimraf','../../config/environment','./schedule.attributes','exports','define','Schedule','tools_schedules','lodash','util','../../config/logger'];(function(_0x21c6b8,_0x16d6f6){var _0x39d474=function(_0x27dbf5){while(--_0x27dbf5){_0x21c6b8['push'](_0x21c6b8['shift']());}};_0x39d474(++_0x16d6f6);}(_0x6406,0x107));var _0x6640=function(_0x22789a,_0x4a1c8c){_0x22789a=_0x22789a-0x0;var _0xede88=_0x6406[_0x22789a];return _0xede88;};'use strict';var _=require(_0x6640('0x0'));var util=require(_0x6640('0x1'));var logger=require(_0x6640('0x2'))(_0x6640('0x3'));var moment=require('moment');var BPromise=require(_0x6640('0x4'));var rp=require(_0x6640('0x5'));var fs=require('fs');var path=require(_0x6640('0x6'));var rimraf=require(_0x6640('0x7'));var config=require(_0x6640('0x8'));var attributes=require(_0x6640('0x9'));module[_0x6640('0xa')]=function(_0x375ab4,_0x5009d2){return _0x375ab4[_0x6640('0xb')](_0x6640('0xc'),attributes,{'tableName':_0x6640('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};