a29985fee8db9f271208970ee765d906200569a5
[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 _0x3b03=['user_has_voice_queues','lodash','util','api','moment','bluebird','path','rimraf','../../config/environment','./userVoiceQueue.attributes','define','UserVoiceQueue'];(function(_0x20a584,_0xe384a5){var _0x4b41a8=function(_0x2127c6){while(--_0x2127c6){_0x20a584['push'](_0x20a584['shift']());}};_0x4b41a8(++_0xe384a5);}(_0x3b03,0xe5));var _0x33b0=function(_0x5b644e,_0x2e5e07){_0x5b644e=_0x5b644e-0x0;var _0x49c6bf=_0x3b03[_0x5b644e];return _0x49c6bf;};'use strict';var _=require(_0x33b0('0x0'));var util=require(_0x33b0('0x1'));var logger=require('../../config/logger')(_0x33b0('0x2'));var moment=require(_0x33b0('0x3'));var BPromise=require(_0x33b0('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x33b0('0x5'));var rimraf=require(_0x33b0('0x6'));var config=require(_0x33b0('0x7'));var attributes=require(_0x33b0('0x8'));module['exports']=function(_0x44e390,_0x18a842){return _0x44e390[_0x33b0('0x9')](_0x33b0('0xa'),attributes,{'tableName':_0x33b0('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};