Built motion from commit c738b9ac.|2.6.25
[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 _0x3869=['api','request-promise','path','rimraf','./userVoiceQueue.attributes','exports','UserVoiceQueue','lodash','util','../../config/logger'];(function(_0x2340a1,_0x2a1d09){var _0x585a98=function(_0x32592b){while(--_0x32592b){_0x2340a1['push'](_0x2340a1['shift']());}};_0x585a98(++_0x2a1d09);}(_0x3869,0x1b5));var _0x9386=function(_0x184022,_0x5e6a90){_0x184022=_0x184022-0x0;var _0x1897b4=_0x3869[_0x184022];return _0x1897b4;};'use strict';var _=require(_0x9386('0x0'));var util=require(_0x9386('0x1'));var logger=require(_0x9386('0x2'))(_0x9386('0x3'));var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0x9386('0x4'));var fs=require('fs');var path=require(_0x9386('0x5'));var rimraf=require(_0x9386('0x6'));var config=require('../../config/environment');var attributes=require(_0x9386('0x7'));module[_0x9386('0x8')]=function(_0x4a7fd1,_0x5ef783){return _0x4a7fd1['define'](_0x9386('0x9'),attributes,{'tableName':'user_has_voice_queues','paranoid':![],'indexes':[],'timestamps':!![]});};