Built motion from commit (unavailable).|2.4.19
[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 _0xa13d=['../../config/environment','./schedule.attributes','define','Schedule','util','../../config/logger','api','bluebird','request-promise','path'];(function(_0x335282,_0x298950){var _0x333b2f=function(_0xc6391d){while(--_0xc6391d){_0x335282['push'](_0x335282['shift']());}};_0x333b2f(++_0x298950);}(_0xa13d,0x13a));var _0xda13=function(_0x596946,_0x5ca38b){_0x596946=_0x596946-0x0;var _0x1c7246=_0xa13d[_0x596946];return _0x1c7246;};'use strict';var _=require('lodash');var util=require(_0xda13('0x0'));var logger=require(_0xda13('0x1'))(_0xda13('0x2'));var moment=require('moment');var BPromise=require(_0xda13('0x3'));var rp=require(_0xda13('0x4'));var fs=require('fs');var path=require(_0xda13('0x5'));var rimraf=require('rimraf');var config=require(_0xda13('0x6'));var attributes=require(_0xda13('0x7'));module['exports']=function(_0x531f1e,_0x46b18d){return _0x531f1e[_0xda13('0x8')](_0xda13('0x9'),attributes,{'tableName':'tools_schedules','paranoid':![],'indexes':[],'timestamps':!![]});};