bb3192db6c05c43216573eccbed79038ba08582f
[motion2.git] / server / api / userOpenchannelQueue / userOpenchannelQueue.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 _0x9fde=['exports','define','UserOpenchannelQueue','user_has_openchannel_queues','lodash','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','./userOpenchannelQueue.attributes'];(function(_0x544eea,_0x806e95){var _0x48be7a=function(_0x410916){while(--_0x410916){_0x544eea['push'](_0x544eea['shift']());}};_0x48be7a(++_0x806e95);}(_0x9fde,0x1b1));var _0xe9fd=function(_0x588011,_0x5e9d11){_0x588011=_0x588011-0x0;var _0x3b3773=_0x9fde[_0x588011];return _0x3b3773;};'use strict';var _=require(_0xe9fd('0x0'));var util=require('util');var logger=require(_0xe9fd('0x1'))(_0xe9fd('0x2'));var moment=require(_0xe9fd('0x3'));var BPromise=require(_0xe9fd('0x4'));var rp=require(_0xe9fd('0x5'));var fs=require('fs');var path=require(_0xe9fd('0x6'));var rimraf=require(_0xe9fd('0x7'));var config=require('../../config/environment');var attributes=require(_0xe9fd('0x8'));module[_0xe9fd('0x9')]=function(_0x202ec3,_0x384dec){return _0x202ec3[_0xe9fd('0xa')](_0xe9fd('0xb'),attributes,{'tableName':_0xe9fd('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};