8f924f4330368fdd18b04f7a60f9e700f08f95d8
[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 _0x15df=['./schedule.attributes','exports','tools_schedules','lodash','util','../../config/logger','api','bluebird','request-promise','path','rimraf','../../config/environment'];(function(_0x1abb09,_0x18ee91){var _0xea1c07=function(_0x38f42c){while(--_0x38f42c){_0x1abb09['push'](_0x1abb09['shift']());}};_0xea1c07(++_0x18ee91);}(_0x15df,0x93));var _0xf15d=function(_0x3c4fac,_0x43e2f2){_0x3c4fac=_0x3c4fac-0x0;var _0x1c1885=_0x15df[_0x3c4fac];return _0x1c1885;};'use strict';var _=require(_0xf15d('0x0'));var util=require(_0xf15d('0x1'));var logger=require(_0xf15d('0x2'))(_0xf15d('0x3'));var moment=require('moment');var BPromise=require(_0xf15d('0x4'));var rp=require(_0xf15d('0x5'));var fs=require('fs');var path=require(_0xf15d('0x6'));var rimraf=require(_0xf15d('0x7'));var config=require(_0xf15d('0x8'));var attributes=require(_0xf15d('0x9'));module[_0xf15d('0xa')]=function(_0x5db297,_0x1b8ff8){return _0x5db297['define']('Schedule',attributes,{'tableName':_0xf15d('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};