Built motion from commit 1cfc41f6.|2.5.41
[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 _0x562c=['path','rimraf','../../config/environment','./schedule.attributes','define','Schedule','tools_schedules','lodash','util','../../config/logger','api'];(function(_0x2fda52,_0x1257c3){var _0x2e2791=function(_0x439151){while(--_0x439151){_0x2fda52['push'](_0x2fda52['shift']());}};_0x2e2791(++_0x1257c3);}(_0x562c,0x172));var _0xc562=function(_0x283346,_0x30e9cc){_0x283346=_0x283346-0x0;var _0x4ec3cb=_0x562c[_0x283346];return _0x4ec3cb;};'use strict';var _=require(_0xc562('0x0'));var util=require(_0xc562('0x1'));var logger=require(_0xc562('0x2'))(_0xc562('0x3'));var moment=require('moment');var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0xc562('0x4'));var rimraf=require(_0xc562('0x5'));var config=require(_0xc562('0x6'));var attributes=require(_0xc562('0x7'));module['exports']=function(_0x1ae05c,_0x3c8371){return _0x1ae05c[_0xc562('0x8')](_0xc562('0x9'),attributes,{'tableName':_0xc562('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};