Built motion from commit (unavailable).|2.5.9
[motion2.git] / server / api / openchannelQueue / openchannelQueue.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 _0xbfca=['../../config/logger','api','moment','request-promise','path','rimraf','./openchannelQueue.attributes','define','OpenchannelQueue','openchannel_queues','lodash','util'];(function(_0x2c7618,_0x26be9c){var _0x5ce3f0=function(_0x1837b3){while(--_0x1837b3){_0x2c7618['push'](_0x2c7618['shift']());}};_0x5ce3f0(++_0x26be9c);}(_0xbfca,0x112));var _0xabfc=function(_0x381a46,_0x4415b3){_0x381a46=_0x381a46-0x0;var _0x49c043=_0xbfca[_0x381a46];return _0x49c043;};'use strict';var _=require(_0xabfc('0x0'));var util=require(_0xabfc('0x1'));var logger=require(_0xabfc('0x2'))(_0xabfc('0x3'));var moment=require(_0xabfc('0x4'));var BPromise=require('bluebird');var rp=require(_0xabfc('0x5'));var fs=require('fs');var path=require(_0xabfc('0x6'));var rimraf=require(_0xabfc('0x7'));var config=require('../../config/environment');var attributes=require(_0xabfc('0x8'));module['exports']=function(_0x6a772a,_0x28777d){return _0x6a772a[_0xabfc('0x9')](_0xabfc('0xa'),attributes,{'tableName':_0xabfc('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};