cf1cdcf9f34c717bb3de4f23328f5ee4703c0f7a
[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 _0x3b7b=['define','Schedule','tools_schedules','lodash','util','../../config/logger','bluebird','request-promise','rimraf','../../config/environment','./schedule.attributes'];(function(_0x19e35c,_0x29cd1e){var _0x3e1fe8=function(_0x17258b){while(--_0x17258b){_0x19e35c['push'](_0x19e35c['shift']());}};_0x3e1fe8(++_0x29cd1e);}(_0x3b7b,0x12c));var _0xb3b7=function(_0x2bc677,_0x18d062){_0x2bc677=_0x2bc677-0x0;var _0x49ff88=_0x3b7b[_0x2bc677];return _0x49ff88;};'use strict';var _=require(_0xb3b7('0x0'));var util=require(_0xb3b7('0x1'));var logger=require(_0xb3b7('0x2'))('api');var moment=require('moment');var BPromise=require(_0xb3b7('0x3'));var rp=require(_0xb3b7('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0xb3b7('0x5'));var config=require(_0xb3b7('0x6'));var attributes=require(_0xb3b7('0x7'));module['exports']=function(_0x94e19d,_0x411a49){return _0x94e19d[_0xb3b7('0x8')](_0xb3b7('0x9'),attributes,{'tableName':_0xb3b7('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};