e0a294ee2a2bb048ca8f779a0700e769b8ae8d97
[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 _0x72c5=['../../config/logger','api','bluebird','request-promise','rimraf','../../config/environment','./userOpenchannelQueue.attributes','exports','define','UserOpenchannelQueue','user_has_openchannel_queues','lodash','util'];(function(_0x5d1889,_0x11b035){var _0xbd1c38=function(_0x2271d8){while(--_0x2271d8){_0x5d1889['push'](_0x5d1889['shift']());}};_0xbd1c38(++_0x11b035);}(_0x72c5,0x80));var _0x572c=function(_0x3216f5,_0xe32e8a){_0x3216f5=_0x3216f5-0x0;var _0x17035a=_0x72c5[_0x3216f5];return _0x17035a;};'use strict';var _=require(_0x572c('0x0'));var util=require(_0x572c('0x1'));var logger=require(_0x572c('0x2'))(_0x572c('0x3'));var moment=require('moment');var BPromise=require(_0x572c('0x4'));var rp=require(_0x572c('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0x572c('0x6'));var config=require(_0x572c('0x7'));var attributes=require(_0x572c('0x8'));module[_0x572c('0x9')]=function(_0x4e02e6,_0x175d14){return _0x4e02e6[_0x572c('0xa')](_0x572c('0xb'),attributes,{'tableName':_0x572c('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};