Built motion from commit 9d1906d1.|2.5.40
[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 _0xc176=['bluebird','request-promise','path','rimraf','../../config/environment','./schedule.attributes','exports','Schedule','tools_schedules','lodash','util','api','moment'];(function(_0x107c77,_0x43aadf){var _0x55c465=function(_0x7ae0a3){while(--_0x7ae0a3){_0x107c77['push'](_0x107c77['shift']());}};_0x55c465(++_0x43aadf);}(_0xc176,0x141));var _0x6c17=function(_0x1d70db,_0x142b63){_0x1d70db=_0x1d70db-0x0;var _0x3060c6=_0xc176[_0x1d70db];return _0x3060c6;};'use strict';var _=require(_0x6c17('0x0'));var util=require(_0x6c17('0x1'));var logger=require('../../config/logger')(_0x6c17('0x2'));var moment=require(_0x6c17('0x3'));var BPromise=require(_0x6c17('0x4'));var rp=require(_0x6c17('0x5'));var fs=require('fs');var path=require(_0x6c17('0x6'));var rimraf=require(_0x6c17('0x7'));var config=require(_0x6c17('0x8'));var attributes=require(_0x6c17('0x9'));module[_0x6c17('0xa')]=function(_0x5354e1,_0x1bacbf){return _0x5354e1['define'](_0x6c17('0xb'),attributes,{'tableName':_0x6c17('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};