Built motion from commit 1fa89557.|2.6.10
[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 _0xaab1=['path','rimraf','../../config/environment','./schedule.attributes','exports','define','Schedule','tools_schedules','lodash','util','../../config/logger','api','moment','bluebird','request-promise'];(function(_0x48c086,_0x5d9558){var _0x36b624=function(_0x15348c){while(--_0x15348c){_0x48c086['push'](_0x48c086['shift']());}};_0x36b624(++_0x5d9558);}(_0xaab1,0x170));var _0x1aab=function(_0x590722,_0x3bf498){_0x590722=_0x590722-0x0;var _0x382e91=_0xaab1[_0x590722];return _0x382e91;};'use strict';var _=require(_0x1aab('0x0'));var util=require(_0x1aab('0x1'));var logger=require(_0x1aab('0x2'))(_0x1aab('0x3'));var moment=require(_0x1aab('0x4'));var BPromise=require(_0x1aab('0x5'));var rp=require(_0x1aab('0x6'));var fs=require('fs');var path=require(_0x1aab('0x7'));var rimraf=require(_0x1aab('0x8'));var config=require(_0x1aab('0x9'));var attributes=require(_0x1aab('0xa'));module[_0x1aab('0xb')]=function(_0x2046b5,_0x35db5e){return _0x2046b5[_0x1aab('0xc')](_0x1aab('0xd'),attributes,{'tableName':_0x1aab('0xe'),'paranoid':![],'indexes':[],'timestamps':!![]});};