Built motion from commit 19a84241.|2.5.34
[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 _0x12fd=['request-promise','path','../../config/environment','./userOpenchannelQueue.attributes','exports','define','UserOpenchannelQueue','lodash','util','../../config/logger','api','bluebird'];(function(_0x3f7c71,_0x42c3cc){var _0x510b76=function(_0x825147){while(--_0x825147){_0x3f7c71['push'](_0x3f7c71['shift']());}};_0x510b76(++_0x42c3cc);}(_0x12fd,0x1e7));var _0xd12f=function(_0x35045f,_0x21517d){_0x35045f=_0x35045f-0x0;var _0x4624f1=_0x12fd[_0x35045f];return _0x4624f1;};'use strict';var _=require(_0xd12f('0x0'));var util=require(_0xd12f('0x1'));var logger=require(_0xd12f('0x2'))(_0xd12f('0x3'));var moment=require('moment');var BPromise=require(_0xd12f('0x4'));var rp=require(_0xd12f('0x5'));var fs=require('fs');var path=require(_0xd12f('0x6'));var rimraf=require('rimraf');var config=require(_0xd12f('0x7'));var attributes=require(_0xd12f('0x8'));module[_0xd12f('0x9')]=function(_0xadab4d,_0x16c5b8){return _0xadab4d[_0xd12f('0xa')](_0xd12f('0xb'),attributes,{'tableName':'user_has_openchannel_queues','paranoid':![],'indexes':[],'timestamps':!![]});};