Built motion from commit (unavailable).|2.4.20
[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 _0xaba6=['define','user_has_voice_queues','lodash','util','request-promise','path','../../config/environment','./userVoiceQueue.attributes'];(function(_0x122cdb,_0x296c7c){var _0x29c292=function(_0x4186db){while(--_0x4186db){_0x122cdb['push'](_0x122cdb['shift']());}};_0x29c292(++_0x296c7c);}(_0xaba6,0xe2));var _0x6aba=function(_0x4bbffb,_0x107d37){_0x4bbffb=_0x4bbffb-0x0;var _0x4e6dbd=_0xaba6[_0x4bbffb];return _0x4e6dbd;};'use strict';var _=require(_0x6aba('0x0'));var util=require(_0x6aba('0x1'));var logger=require('../../config/logger')('api');var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0x6aba('0x2'));var fs=require('fs');var path=require(_0x6aba('0x3'));var rimraf=require('rimraf');var config=require(_0x6aba('0x4'));var attributes=require(_0x6aba('0x5'));module['exports']=function(_0x4e929a,_0x5ae14c){return _0x4e929a[_0x6aba('0x6')]('UserVoiceQueue',attributes,{'tableName':_0x6aba('0x7'),'paranoid':![],'indexes':[],'timestamps':!![]});};