Built motion from commit (unavailable).|2.5.15
[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 _0x01cd=['lodash','util','../../config/logger','api','bluebird','path','rimraf','../../config/environment','./schedule.attributes','Schedule','tools_schedules'];(function(_0x45c962,_0x459e2c){var _0x1fb5e5=function(_0x10ea85){while(--_0x10ea85){_0x45c962['push'](_0x45c962['shift']());}};_0x1fb5e5(++_0x459e2c);}(_0x01cd,0xbb));var _0xd01c=function(_0x3fb8d4,_0x50915d){_0x3fb8d4=_0x3fb8d4-0x0;var _0xa05e7c=_0x01cd[_0x3fb8d4];return _0xa05e7c;};'use strict';var _=require(_0xd01c('0x0'));var util=require(_0xd01c('0x1'));var logger=require(_0xd01c('0x2'))(_0xd01c('0x3'));var moment=require('moment');var BPromise=require(_0xd01c('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xd01c('0x5'));var rimraf=require(_0xd01c('0x6'));var config=require(_0xd01c('0x7'));var attributes=require(_0xd01c('0x8'));module['exports']=function(_0x12bdd2,_0x4b9f06){return _0x12bdd2['define'](_0xd01c('0x9'),attributes,{'tableName':_0xd01c('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};