Built motion from commit 616d3211.|2.6.4
[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 _0x244e=['path','rimraf','../../config/environment','./userOpenchannelQueue.attributes','exports','define','UserOpenchannelQueue','user_has_openchannel_queues','util','../../config/logger','api','bluebird','request-promise'];(function(_0x1035c1,_0x2d8583){var _0x308d67=function(_0x58ddb6){while(--_0x58ddb6){_0x1035c1['push'](_0x1035c1['shift']());}};_0x308d67(++_0x2d8583);}(_0x244e,0x167));var _0xe244=function(_0x40d623,_0x2a0853){_0x40d623=_0x40d623-0x0;var _0x10255f=_0x244e[_0x40d623];return _0x10255f;};'use strict';var _=require('lodash');var util=require(_0xe244('0x0'));var logger=require(_0xe244('0x1'))(_0xe244('0x2'));var moment=require('moment');var BPromise=require(_0xe244('0x3'));var rp=require(_0xe244('0x4'));var fs=require('fs');var path=require(_0xe244('0x5'));var rimraf=require(_0xe244('0x6'));var config=require(_0xe244('0x7'));var attributes=require(_0xe244('0x8'));module[_0xe244('0x9')]=function(_0x2d4356,_0x5fee0){return _0x2d4356[_0xe244('0xa')](_0xe244('0xb'),attributes,{'tableName':_0xe244('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};