Built motion from commit 497d3d92.|2.5.43
[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 _0x86fd=['exports','define','UserOpenchannelQueue','user_has_openchannel_queues','lodash','../../config/logger','api','moment','bluebird','rimraf','../../config/environment'];(function(_0x3a0863,_0x4cd5ef){var _0x85c557=function(_0x3011cb){while(--_0x3011cb){_0x3a0863['push'](_0x3a0863['shift']());}};_0x85c557(++_0x4cd5ef);}(_0x86fd,0x19b));var _0xd86f=function(_0x4cfc1d,_0x2c0927){_0x4cfc1d=_0x4cfc1d-0x0;var _0x1c01a0=_0x86fd[_0x4cfc1d];return _0x1c01a0;};'use strict';var _=require(_0xd86f('0x0'));var util=require('util');var logger=require(_0xd86f('0x1'))(_0xd86f('0x2'));var moment=require(_0xd86f('0x3'));var BPromise=require(_0xd86f('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0xd86f('0x5'));var config=require(_0xd86f('0x6'));var attributes=require('./userOpenchannelQueue.attributes');module[_0xd86f('0x7')]=function(_0x354b3d,_0x455d75){return _0x354b3d[_0xd86f('0x8')](_0xd86f('0x9'),attributes,{'tableName':_0xd86f('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};