Built motion from commit f7863d46.|2.5.41
[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 _0xe636=['exports','define','user_has_openchannel_queues','util','moment','request-promise','path','../../config/environment','./userOpenchannelQueue.attributes'];(function(_0x1facfa,_0x1acf7d){var _0x9ec701=function(_0x115e37){while(--_0x115e37){_0x1facfa['push'](_0x1facfa['shift']());}};_0x9ec701(++_0x1acf7d);}(_0xe636,0x135));var _0x6e63=function(_0x26bf51,_0x5e261a){_0x26bf51=_0x26bf51-0x0;var _0x503415=_0xe636[_0x26bf51];return _0x503415;};'use strict';var _=require('lodash');var util=require(_0x6e63('0x0'));var logger=require('../../config/logger')('api');var moment=require(_0x6e63('0x1'));var BPromise=require('bluebird');var rp=require(_0x6e63('0x2'));var fs=require('fs');var path=require(_0x6e63('0x3'));var rimraf=require('rimraf');var config=require(_0x6e63('0x4'));var attributes=require(_0x6e63('0x5'));module[_0x6e63('0x6')]=function(_0x551d06,_0x3fe663){return _0x551d06[_0x6e63('0x7')]('UserOpenchannelQueue',attributes,{'tableName':_0x6e63('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};