Built motion from commit ffdca78c.|2.6.24
[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 _0x57cc=['rimraf','../../config/environment','./schedule.attributes','exports','define','lodash','util','api','moment','path'];(function(_0x24734a,_0x28508e){var _0x3f8c94=function(_0xa7898b){while(--_0xa7898b){_0x24734a['push'](_0x24734a['shift']());}};_0x3f8c94(++_0x28508e);}(_0x57cc,0x1bd));var _0xc57c=function(_0x45f951,_0x2750c8){_0x45f951=_0x45f951-0x0;var _0x24756c=_0x57cc[_0x45f951];return _0x24756c;};'use strict';var _=require(_0xc57c('0x0'));var util=require(_0xc57c('0x1'));var logger=require('../../config/logger')(_0xc57c('0x2'));var moment=require(_0xc57c('0x3'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0xc57c('0x4'));var rimraf=require(_0xc57c('0x5'));var config=require(_0xc57c('0x6'));var attributes=require(_0xc57c('0x7'));module[_0xc57c('0x8')]=function(_0x4a468a,_0x461c9a){return _0x4a468a[_0xc57c('0x9')]('Schedule',attributes,{'tableName':'tools_schedules','paranoid':![],'indexes':[],'timestamps':!![]});};