a8c067872377d529aa4180d10d8a767971e9ccc2
[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 _0xcb2d=['lodash','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./schedule.attributes','exports','define','Schedule','tools_schedules'];(function(_0x365be9,_0x3c88b9){var _0x185c12=function(_0xbadbbf){while(--_0xbadbbf){_0x365be9['push'](_0x365be9['shift']());}};_0x185c12(++_0x3c88b9);}(_0xcb2d,0x1a0));var _0xdcb2=function(_0xcc7039,_0x5a3274){_0xcc7039=_0xcc7039-0x0;var _0x4e308a=_0xcb2d[_0xcc7039];return _0x4e308a;};'use strict';var _=require(_0xdcb2('0x0'));var util=require('util');var logger=require('../../config/logger')(_0xdcb2('0x1'));var moment=require(_0xdcb2('0x2'));var BPromise=require(_0xdcb2('0x3'));var rp=require(_0xdcb2('0x4'));var fs=require('fs');var path=require(_0xdcb2('0x5'));var rimraf=require(_0xdcb2('0x6'));var config=require(_0xdcb2('0x7'));var attributes=require(_0xdcb2('0x8'));module[_0xdcb2('0x9')]=function(_0x385c06,_0x26aee7){return _0x385c06[_0xdcb2('0xa')](_0xdcb2('0xb'),attributes,{'tableName':_0xdcb2('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};