Built motion from commit 67e5df37.|2.0.66
[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 _0x540e=['user_has_openchannel_queues','lodash','util','../../config/logger','api','moment','./userOpenchannelQueue.attributes','exports','define','UserOpenchannelQueue'];(function(_0x356251,_0x256cd1){var _0x261073=function(_0x4eb193){while(--_0x4eb193){_0x356251['push'](_0x356251['shift']());}};_0x261073(++_0x256cd1);}(_0x540e,0x14b));var _0xe540=function(_0x5668db,_0x149b9a){_0x5668db=_0x5668db-0x0;var _0x9335dc=_0x540e[_0x5668db];return _0x9335dc;};'use strict';var _=require(_0xe540('0x0'));var util=require(_0xe540('0x1'));var logger=require(_0xe540('0x2'))(_0xe540('0x3'));var moment=require(_0xe540('0x4'));var BPromise=require('bluebird');var rp=require('request-promise');var attributes=require(_0xe540('0x5'));module[_0xe540('0x6')]=function(_0x114fcf,_0x534823){return _0x114fcf[_0xe540('0x7')](_0xe540('0x8'),attributes,{'tableName':_0xe540('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};