Built motion from commit da617fac.|2.6.6
[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 _0x434f=['exports','define','UserVoiceQueue','util','../../config/logger','api','request-promise','path','rimraf','../../config/environment','./userVoiceQueue.attributes'];(function(_0x4fa078,_0x283fb7){var _0x447318=function(_0x325170){while(--_0x325170){_0x4fa078['push'](_0x4fa078['shift']());}};_0x447318(++_0x283fb7);}(_0x434f,0x184));var _0xf434=function(_0x321bb2,_0x202794){_0x321bb2=_0x321bb2-0x0;var _0x9c12ed=_0x434f[_0x321bb2];return _0x9c12ed;};'use strict';var _=require('lodash');var util=require(_0xf434('0x0'));var logger=require(_0xf434('0x1'))(_0xf434('0x2'));var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0xf434('0x3'));var fs=require('fs');var path=require(_0xf434('0x4'));var rimraf=require(_0xf434('0x5'));var config=require(_0xf434('0x6'));var attributes=require(_0xf434('0x7'));module[_0xf434('0x8')]=function(_0x18ef40,_0x584322){return _0x18ef40[_0xf434('0x9')](_0xf434('0xa'),attributes,{'tableName':'user_has_voice_queues','paranoid':![],'indexes':[],'timestamps':!![]});};