ac7b534d9b0e596ef92f241265964de313bfaad6
[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 _0xc1ff=['./schedule.attributes','define','Schedule','util','../../config/logger','moment','bluebird','request-promise','path','../../config/environment'];(function(_0x15a346,_0x46d825){var _0x275a0f=function(_0x3df115){while(--_0x3df115){_0x15a346['push'](_0x15a346['shift']());}};_0x275a0f(++_0x46d825);}(_0xc1ff,0x19d));var _0xfc1f=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0xc1ff[_0x3dd15e];return _0x231fd0;};'use strict';var _=require('lodash');var util=require(_0xfc1f('0x0'));var logger=require(_0xfc1f('0x1'))('api');var moment=require(_0xfc1f('0x2'));var BPromise=require(_0xfc1f('0x3'));var rp=require(_0xfc1f('0x4'));var fs=require('fs');var path=require(_0xfc1f('0x5'));var rimraf=require('rimraf');var config=require(_0xfc1f('0x6'));var attributes=require(_0xfc1f('0x7'));module['exports']=function(_0x542ee2,_0x2aa454){return _0x542ee2[_0xfc1f('0x8')](_0xfc1f('0x9'),attributes,{'tableName':'tools_schedules','paranoid':![],'indexes':[],'timestamps':!![]});};