70dce6d86b0b5e2c468e81a422a57876076f2caa
[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 _0x4c49=['../../config/logger','api','moment','bluebird','path','rimraf','../../config/environment','./userOpenchannelQueue.attributes','exports','define','user_has_openchannel_queues','lodash','util'];(function(_0x48c0d4,_0x2facad){var _0x47f463=function(_0x5bfd2a){while(--_0x5bfd2a){_0x48c0d4['push'](_0x48c0d4['shift']());}};_0x47f463(++_0x2facad);}(_0x4c49,0x8d));var _0x94c4=function(_0x5c877f,_0x5ab2cd){_0x5c877f=_0x5c877f-0x0;var _0x1dd4bb=_0x4c49[_0x5c877f];return _0x1dd4bb;};'use strict';var _=require(_0x94c4('0x0'));var util=require(_0x94c4('0x1'));var logger=require(_0x94c4('0x2'))(_0x94c4('0x3'));var moment=require(_0x94c4('0x4'));var BPromise=require(_0x94c4('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x94c4('0x6'));var rimraf=require(_0x94c4('0x7'));var config=require(_0x94c4('0x8'));var attributes=require(_0x94c4('0x9'));module[_0x94c4('0xa')]=function(_0x4b25d0,_0x102108){return _0x4b25d0[_0x94c4('0xb')]('UserOpenchannelQueue',attributes,{'tableName':_0x94c4('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};