9b3b002b68d7de634aecad4c912bdf071d339c72
[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 _0x62d1=['./schedule.attributes','exports','define','Schedule','tools_schedules','lodash','util','../../config/logger','api','bluebird','request-promise','path','rimraf','../../config/environment'];(function(_0x2b29e7,_0x3a1cfa){var _0x52a9c3=function(_0x4e077a){while(--_0x4e077a){_0x2b29e7['push'](_0x2b29e7['shift']());}};_0x52a9c3(++_0x3a1cfa);}(_0x62d1,0x163));var _0x162d=function(_0x1e4535,_0x37cf32){_0x1e4535=_0x1e4535-0x0;var _0x4d8658=_0x62d1[_0x1e4535];return _0x4d8658;};'use strict';var _=require(_0x162d('0x0'));var util=require(_0x162d('0x1'));var logger=require(_0x162d('0x2'))(_0x162d('0x3'));var moment=require('moment');var BPromise=require(_0x162d('0x4'));var rp=require(_0x162d('0x5'));var fs=require('fs');var path=require(_0x162d('0x6'));var rimraf=require(_0x162d('0x7'));var config=require(_0x162d('0x8'));var attributes=require(_0x162d('0x9'));module[_0x162d('0xa')]=function(_0x80c1a6,_0x58d265){return _0x80c1a6[_0x162d('0xb')](_0x162d('0xc'),attributes,{'tableName':_0x162d('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};