007ba8293a8bc37cf65c011e6f36636c6a0b311e
[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 _0xbe64=['Schedule','lodash','../../config/logger','api','bluebird','request-promise','path','rimraf','../../config/environment','./schedule.attributes','define'];(function(_0x2c4aef,_0x116fe2){var _0x3deaed=function(_0x131052){while(--_0x131052){_0x2c4aef['push'](_0x2c4aef['shift']());}};_0x3deaed(++_0x116fe2);}(_0xbe64,0x1da));var _0x4be6=function(_0x43a5c7,_0x2286bf){_0x43a5c7=_0x43a5c7-0x0;var _0x3b12a2=_0xbe64[_0x43a5c7];return _0x3b12a2;};'use strict';var _=require(_0x4be6('0x0'));var util=require('util');var logger=require(_0x4be6('0x1'))(_0x4be6('0x2'));var moment=require('moment');var BPromise=require(_0x4be6('0x3'));var rp=require(_0x4be6('0x4'));var fs=require('fs');var path=require(_0x4be6('0x5'));var rimraf=require(_0x4be6('0x6'));var config=require(_0x4be6('0x7'));var attributes=require(_0x4be6('0x8'));module['exports']=function(_0xd2a1b9,_0x5a261b){return _0xd2a1b9[_0x4be6('0x9')](_0x4be6('0xa'),attributes,{'tableName':'tools_schedules','paranoid':![],'indexes':[],'timestamps':!![]});};