Built motion from commit (unavailable).|2.5.12
[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 _0x12a9=['moment','bluebird','request-promise','path','rimraf','../../config/environment','./schedule.attributes','exports','define','Schedule','tools_schedules','lodash','util','../../config/logger'];(function(_0x245afe,_0x319cde){var _0x4eefde=function(_0x15a1fa){while(--_0x15a1fa){_0x245afe['push'](_0x245afe['shift']());}};_0x4eefde(++_0x319cde);}(_0x12a9,0x177));var _0x912a=function(_0x58956d,_0xf8b3ae){_0x58956d=_0x58956d-0x0;var _0x3fc4b7=_0x12a9[_0x58956d];return _0x3fc4b7;};'use strict';var _=require(_0x912a('0x0'));var util=require(_0x912a('0x1'));var logger=require(_0x912a('0x2'))('api');var moment=require(_0x912a('0x3'));var BPromise=require(_0x912a('0x4'));var rp=require(_0x912a('0x5'));var fs=require('fs');var path=require(_0x912a('0x6'));var rimraf=require(_0x912a('0x7'));var config=require(_0x912a('0x8'));var attributes=require(_0x912a('0x9'));module[_0x912a('0xa')]=function(_0x45a4d6,_0x561ee6){return _0x45a4d6[_0x912a('0xb')](_0x912a('0xc'),attributes,{'tableName':_0x912a('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};