Built motion from commit 74d9782e.|2.6.30
[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 _0x281b=['rimraf','./schedule.attributes','exports','define','tools_schedules','lodash','util','../../config/logger','api','moment','bluebird'];(function(_0x4ce187,_0x4467e5){var _0x2796c1=function(_0x48cb5f){while(--_0x48cb5f){_0x4ce187['push'](_0x4ce187['shift']());}};_0x2796c1(++_0x4467e5);}(_0x281b,0x94));var _0xb281=function(_0x54c583,_0xf8c8cb){_0x54c583=_0x54c583-0x0;var _0x14d514=_0x281b[_0x54c583];return _0x14d514;};'use strict';var _=require(_0xb281('0x0'));var util=require(_0xb281('0x1'));var logger=require(_0xb281('0x2'))(_0xb281('0x3'));var moment=require(_0xb281('0x4'));var BPromise=require(_0xb281('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0xb281('0x6'));var config=require('../../config/environment');var attributes=require(_0xb281('0x7'));module[_0xb281('0x8')]=function(_0x594386,_0x15edf3){return _0x594386[_0xb281('0x9')]('Schedule',attributes,{'tableName':_0xb281('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};