Built motion from commit b5413ace.|2.6.9
[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 _0xc92a=['./userOpenchannelQueue.attributes','exports','define','user_has_openchannel_queues','lodash','util','api','moment','request-promise','path','rimraf','../../config/environment'];(function(_0x126558,_0x143c9a){var _0x1f6d14=function(_0x2b0eea){while(--_0x2b0eea){_0x126558['push'](_0x126558['shift']());}};_0x1f6d14(++_0x143c9a);}(_0xc92a,0x7c));var _0xac92=function(_0x3bf83f,_0x181cac){_0x3bf83f=_0x3bf83f-0x0;var _0x22c4a9=_0xc92a[_0x3bf83f];return _0x22c4a9;};'use strict';var _=require(_0xac92('0x0'));var util=require(_0xac92('0x1'));var logger=require('../../config/logger')(_0xac92('0x2'));var moment=require(_0xac92('0x3'));var BPromise=require('bluebird');var rp=require(_0xac92('0x4'));var fs=require('fs');var path=require(_0xac92('0x5'));var rimraf=require(_0xac92('0x6'));var config=require(_0xac92('0x7'));var attributes=require(_0xac92('0x8'));module[_0xac92('0x9')]=function(_0x5072ad,_0x54d68c){return _0x5072ad[_0xac92('0xa')]('UserOpenchannelQueue',attributes,{'tableName':_0xac92('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};