Built motion from commit (unavailable).|2.5.7
[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 _0xebe4=['../../config/logger','api','rimraf','../../config/environment','./schedule.attributes','exports','Schedule','tools_schedules','util'];(function(_0x1f06e3,_0x3a5a3a){var _0x481cca=function(_0x530f31){while(--_0x530f31){_0x1f06e3['push'](_0x1f06e3['shift']());}};_0x481cca(++_0x3a5a3a);}(_0xebe4,0x7d));var _0x4ebe=function(_0x472988,_0x3155f4){_0x472988=_0x472988-0x0;var _0x40425d=_0xebe4[_0x472988];return _0x40425d;};'use strict';var _=require('lodash');var util=require(_0x4ebe('0x0'));var logger=require(_0x4ebe('0x1'))(_0x4ebe('0x2'));var moment=require('moment');var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0x4ebe('0x3'));var config=require(_0x4ebe('0x4'));var attributes=require(_0x4ebe('0x5'));module[_0x4ebe('0x6')]=function(_0x41e568,_0x437f50){return _0x41e568['define'](_0x4ebe('0x7'),attributes,{'tableName':_0x4ebe('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};