Built motion from commit ab870f9e.|2.5.44
[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 _0x292e=['../../config/environment','./schedule.attributes','define','tools_schedules','../../config/logger','api','bluebird','request-promise','path','rimraf'];(function(_0x20a558,_0x160e0e){var _0x53d3f7=function(_0x259bd8){while(--_0x259bd8){_0x20a558['push'](_0x20a558['shift']());}};_0x53d3f7(++_0x160e0e);}(_0x292e,0xae));var _0xe292=function(_0x13d07a,_0x41efc3){_0x13d07a=_0x13d07a-0x0;var _0x5ee0ee=_0x292e[_0x13d07a];return _0x5ee0ee;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0xe292('0x0'))(_0xe292('0x1'));var moment=require('moment');var BPromise=require(_0xe292('0x2'));var rp=require(_0xe292('0x3'));var fs=require('fs');var path=require(_0xe292('0x4'));var rimraf=require(_0xe292('0x5'));var config=require(_0xe292('0x6'));var attributes=require(_0xe292('0x7'));module['exports']=function(_0x2135f8,_0x22133d){return _0x2135f8[_0xe292('0x8')]('Schedule',attributes,{'tableName':_0xe292('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};