Built motion from commit (unavailable).|2.5.25
[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 _0x1e4b=['./schedule.attributes','exports','Schedule','tools_schedules','lodash','util','api','moment','bluebird','request-promise','rimraf','../../config/environment'];(function(_0x38bf74,_0x1164bd){var _0x414e5b=function(_0x2e0cc4){while(--_0x2e0cc4){_0x38bf74['push'](_0x38bf74['shift']());}};_0x414e5b(++_0x1164bd);}(_0x1e4b,0xdc));var _0xb1e4=function(_0xf9e9eb,_0x1c0f13){_0xf9e9eb=_0xf9e9eb-0x0;var _0x406bdd=_0x1e4b[_0xf9e9eb];return _0x406bdd;};'use strict';var _=require(_0xb1e4('0x0'));var util=require(_0xb1e4('0x1'));var logger=require('../../config/logger')(_0xb1e4('0x2'));var moment=require(_0xb1e4('0x3'));var BPromise=require(_0xb1e4('0x4'));var rp=require(_0xb1e4('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0xb1e4('0x6'));var config=require(_0xb1e4('0x7'));var attributes=require(_0xb1e4('0x8'));module[_0xb1e4('0x9')]=function(_0x230646,_0x26e800){return _0x230646['define'](_0xb1e4('0xa'),attributes,{'tableName':_0xb1e4('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};