Built motion from commit 3c2ce842.|2.6.31
[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 _0xb568=['UserOpenchannelQueue','util','moment','request-promise','path','rimraf','./userOpenchannelQueue.attributes','exports'];(function(_0x511bfc,_0x5e9d4e){var _0x302fb0=function(_0x3fe4d2){while(--_0x3fe4d2){_0x511bfc['push'](_0x511bfc['shift']());}};_0x302fb0(++_0x5e9d4e);}(_0xb568,0x159));var _0x8b56=function(_0x5f0869,_0x2b643c){_0x5f0869=_0x5f0869-0x0;var _0x5c5ef2=_0xb568[_0x5f0869];return _0x5c5ef2;};'use strict';var _=require('lodash');var util=require(_0x8b56('0x0'));var logger=require('../../config/logger')('api');var moment=require(_0x8b56('0x1'));var BPromise=require('bluebird');var rp=require(_0x8b56('0x2'));var fs=require('fs');var path=require(_0x8b56('0x3'));var rimraf=require(_0x8b56('0x4'));var config=require('../../config/environment');var attributes=require(_0x8b56('0x5'));module[_0x8b56('0x6')]=function(_0x16e289,_0x88494b){return _0x16e289['define'](_0x8b56('0x7'),attributes,{'tableName':'user_has_openchannel_queues','paranoid':![],'indexes':[],'timestamps':!![]});};