27702bb9c01e4fb0e34c7ad6d26da3d01f06d264
[motion2.git] / server / api / userVoiceQueue / userVoiceQueue.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 _0x5cef=['../../config/environment','./userVoiceQueue.attributes','exports','define','UserVoiceQueue','user_has_voice_queues','util','api','moment','request-promise','path','rimraf'];(function(_0x205123,_0x240ebe){var _0x5b69fb=function(_0x488aaf){while(--_0x488aaf){_0x205123['push'](_0x205123['shift']());}};_0x5b69fb(++_0x240ebe);}(_0x5cef,0x156));var _0xf5ce=function(_0x41efee,_0x3b1307){_0x41efee=_0x41efee-0x0;var _0x5c9862=_0x5cef[_0x41efee];return _0x5c9862;};'use strict';var _=require('lodash');var util=require(_0xf5ce('0x0'));var logger=require('../../config/logger')(_0xf5ce('0x1'));var moment=require(_0xf5ce('0x2'));var BPromise=require('bluebird');var rp=require(_0xf5ce('0x3'));var fs=require('fs');var path=require(_0xf5ce('0x4'));var rimraf=require(_0xf5ce('0x5'));var config=require(_0xf5ce('0x6'));var attributes=require(_0xf5ce('0x7'));module[_0xf5ce('0x8')]=function(_0x30a8ac,_0x290a55){return _0x30a8ac[_0xf5ce('0x9')](_0xf5ce('0xa'),attributes,{'tableName':_0xf5ce('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};