f9e9be99a07c4da872e62e868422cb9015299f81
[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 _0x101a=['lodash','util','../../config/logger','api','moment','bluebird','rimraf','../../config/environment','./schedule.attributes','Schedule'];(function(_0x80e225,_0x5b47cd){var _0x3c3129=function(_0x5db1e9){while(--_0x5db1e9){_0x80e225['push'](_0x80e225['shift']());}};_0x3c3129(++_0x5b47cd);}(_0x101a,0xaa));var _0xa101=function(_0x23a5b3,_0x4d36ac){_0x23a5b3=_0x23a5b3-0x0;var _0x1e2575=_0x101a[_0x23a5b3];return _0x1e2575;};'use strict';var _=require(_0xa101('0x0'));var util=require(_0xa101('0x1'));var logger=require(_0xa101('0x2'))(_0xa101('0x3'));var moment=require(_0xa101('0x4'));var BPromise=require(_0xa101('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0xa101('0x6'));var config=require(_0xa101('0x7'));var attributes=require(_0xa101('0x8'));module['exports']=function(_0x188557,_0x566b9b){return _0x188557['define'](_0xa101('0x9'),attributes,{'tableName':'tools_schedules','paranoid':![],'indexes':[],'timestamps':!![]});};