293872150a13967f2a076763ccddc21d4a4de9e7
[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 _0xe1a9=['./userVoiceQueue.attributes','define','UserVoiceQueue','user_has_voice_queues','lodash','util','../../config/logger','api','moment','bluebird','path','rimraf'];(function(_0x11ce46,_0x177a85){var _0x368a1e=function(_0x425454){while(--_0x425454){_0x11ce46['push'](_0x11ce46['shift']());}};_0x368a1e(++_0x177a85);}(_0xe1a9,0x1a8));var _0x9e1a=function(_0x4d8ca8,_0x469ef4){_0x4d8ca8=_0x4d8ca8-0x0;var _0x59db22=_0xe1a9[_0x4d8ca8];return _0x59db22;};'use strict';var _=require(_0x9e1a('0x0'));var util=require(_0x9e1a('0x1'));var logger=require(_0x9e1a('0x2'))(_0x9e1a('0x3'));var moment=require(_0x9e1a('0x4'));var BPromise=require(_0x9e1a('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x9e1a('0x6'));var rimraf=require(_0x9e1a('0x7'));var config=require('../../config/environment');var attributes=require(_0x9e1a('0x8'));module['exports']=function(_0xa879e6,_0x525610){return _0xa879e6[_0x9e1a('0x9')](_0x9e1a('0xa'),attributes,{'tableName':_0x9e1a('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};