Built motion from commit (unavailable).|2.4.21
[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 _0x1caf=['util','api','moment','bluebird','request-promise','rimraf','../../config/environment','./schedule.attributes','exports','define','tools_schedules','lodash'];(function(_0x4dfce8,_0x2a9880){var _0x488a8c=function(_0xcf49e5){while(--_0xcf49e5){_0x4dfce8['push'](_0x4dfce8['shift']());}};_0x488a8c(++_0x2a9880);}(_0x1caf,0xa7));var _0xf1ca=function(_0x42245d,_0x51758f){_0x42245d=_0x42245d-0x0;var _0x4b211a=_0x1caf[_0x42245d];return _0x4b211a;};'use strict';var _=require(_0xf1ca('0x0'));var util=require(_0xf1ca('0x1'));var logger=require('../../config/logger')(_0xf1ca('0x2'));var moment=require(_0xf1ca('0x3'));var BPromise=require(_0xf1ca('0x4'));var rp=require(_0xf1ca('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0xf1ca('0x6'));var config=require(_0xf1ca('0x7'));var attributes=require(_0xf1ca('0x8'));module[_0xf1ca('0x9')]=function(_0x58d21d,_0x16ad1c){return _0x58d21d[_0xf1ca('0xa')]('Schedule',attributes,{'tableName':_0xf1ca('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};