Built motion from commit 9d7072cc.|2.5.39
[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 _0x4ed0=['bluebird','./userOpenchannelQueue.attributes','exports','user_has_openchannel_queues','../../config/logger','api','moment'];(function(_0x2ae246,_0x2390a4){var _0x5e625d=function(_0x5185d2){while(--_0x5185d2){_0x2ae246['push'](_0x2ae246['shift']());}};_0x5e625d(++_0x2390a4);}(_0x4ed0,0x1d2));var _0x04ed=function(_0xa464c9,_0x7c86d8){_0xa464c9=_0xa464c9-0x0;var _0x3d73c4=_0x4ed0[_0xa464c9];return _0x3d73c4;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0x04ed('0x0'))(_0x04ed('0x1'));var moment=require(_0x04ed('0x2'));var BPromise=require(_0x04ed('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0x04ed('0x4'));module[_0x04ed('0x5')]=function(_0x22bc04,_0xfed6ba){return _0x22bc04['define']('UserOpenchannelQueue',attributes,{'tableName':_0x04ed('0x6'),'paranoid':![],'indexes':[],'timestamps':!![]});};