42c61af1d3492be51de26bea22e01c3829f0dd56
[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 _0x2a62=['rimraf','../../config/environment','./userOpenchannelQueue.attributes','exports','define','user_has_openchannel_queues','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path'];(function(_0x1e3027,_0x595f81){var _0x58be83=function(_0x47698f){while(--_0x47698f){_0x1e3027['push'](_0x1e3027['shift']());}};_0x58be83(++_0x595f81);}(_0x2a62,0x180));var _0x22a6=function(_0x3ab51d,_0x2fa01d){_0x3ab51d=_0x3ab51d-0x0;var _0x29a04e=_0x2a62[_0x3ab51d];return _0x29a04e;};'use strict';var _=require(_0x22a6('0x0'));var util=require(_0x22a6('0x1'));var logger=require(_0x22a6('0x2'))(_0x22a6('0x3'));var moment=require(_0x22a6('0x4'));var BPromise=require(_0x22a6('0x5'));var rp=require(_0x22a6('0x6'));var fs=require('fs');var path=require(_0x22a6('0x7'));var rimraf=require(_0x22a6('0x8'));var config=require(_0x22a6('0x9'));var attributes=require(_0x22a6('0xa'));module[_0x22a6('0xb')]=function(_0x3c1504,_0x5ba1c8){return _0x3c1504[_0x22a6('0xc')]('UserOpenchannelQueue',attributes,{'tableName':_0x22a6('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};