Built motion from commit f7863d46.|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 _0x0df3=['Schedule','lodash','util','api','moment','request-promise','rimraf','../../config/environment','./schedule.attributes','exports','define'];(function(_0x24b743,_0x2759a5){var _0x77a660=function(_0x4db6a9){while(--_0x4db6a9){_0x24b743['push'](_0x24b743['shift']());}};_0x77a660(++_0x2759a5);}(_0x0df3,0x135));var _0x30df=function(_0x2bbc07,_0x1e2168){_0x2bbc07=_0x2bbc07-0x0;var _0x6879e4=_0x0df3[_0x2bbc07];return _0x6879e4;};'use strict';var _=require(_0x30df('0x0'));var util=require(_0x30df('0x1'));var logger=require('../../config/logger')(_0x30df('0x2'));var moment=require(_0x30df('0x3'));var BPromise=require('bluebird');var rp=require(_0x30df('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0x30df('0x5'));var config=require(_0x30df('0x6'));var attributes=require(_0x30df('0x7'));module[_0x30df('0x8')]=function(_0x37e1b0,_0x57ede4){return _0x37e1b0[_0x30df('0x9')](_0x30df('0xa'),attributes,{'tableName':'tools_schedules','paranoid':![],'indexes':[],'timestamps':!![]});};