Built motion from commit 0900f080.|2.5.45
[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 _0x504a=['util','api','moment','bluebird','request-promise','path','./userOpenchannelQueue.attributes','exports','define','UserOpenchannelQueue'];(function(_0x30895c,_0x3e9e46){var _0x467b63=function(_0x1c70a6){while(--_0x1c70a6){_0x30895c['push'](_0x30895c['shift']());}};_0x467b63(++_0x3e9e46);}(_0x504a,0x1c2));var _0xa504=function(_0x5b0cbb,_0x3a1298){_0x5b0cbb=_0x5b0cbb-0x0;var _0x40ec30=_0x504a[_0x5b0cbb];return _0x40ec30;};'use strict';var _=require('lodash');var util=require(_0xa504('0x0'));var logger=require('../../config/logger')(_0xa504('0x1'));var moment=require(_0xa504('0x2'));var BPromise=require(_0xa504('0x3'));var rp=require(_0xa504('0x4'));var fs=require('fs');var path=require(_0xa504('0x5'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0xa504('0x6'));module[_0xa504('0x7')]=function(_0x58fe08,_0x2ac88a){return _0x58fe08[_0xa504('0x8')](_0xa504('0x9'),attributes,{'tableName':'user_has_openchannel_queues','paranoid':![],'indexes':[],'timestamps':!![]});};