c9cf59d6408ddd4ff3d6a04655abb83015b7dc21
[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 _0xd507=['../../config/logger','api','request-promise','path','rimraf','../../config/environment','./schedule.attributes','define','Schedule','lodash','util'];(function(_0xb7b878,_0x5c3b92){var _0x3c84b9=function(_0x21d5a2){while(--_0x21d5a2){_0xb7b878['push'](_0xb7b878['shift']());}};_0x3c84b9(++_0x5c3b92);}(_0xd507,0xc4));var _0x7d50=function(_0x189ae8,_0x593c29){_0x189ae8=_0x189ae8-0x0;var _0xa49cab=_0xd507[_0x189ae8];return _0xa49cab;};'use strict';var _=require(_0x7d50('0x0'));var util=require(_0x7d50('0x1'));var logger=require(_0x7d50('0x2'))(_0x7d50('0x3'));var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0x7d50('0x4'));var fs=require('fs');var path=require(_0x7d50('0x5'));var rimraf=require(_0x7d50('0x6'));var config=require(_0x7d50('0x7'));var attributes=require(_0x7d50('0x8'));module['exports']=function(_0x48826f,_0x39198a){return _0x48826f[_0x7d50('0x9')](_0x7d50('0xa'),attributes,{'tableName':'tools_schedules','paranoid':![],'indexes':[],'timestamps':!![]});};