b5de19f1859c9ee0f93e944b915ff48dd99f0d90
[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 _0xa4e4=['exports','UserVoiceQueue','util','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./userVoiceQueue.attributes'];(function(_0x3671d0,_0x2a51e5){var _0x4e86ec=function(_0x43be0c){while(--_0x43be0c){_0x3671d0['push'](_0x3671d0['shift']());}};_0x4e86ec(++_0x2a51e5);}(_0xa4e4,0x1af));var _0x4a4e=function(_0x3a4464,_0x37afa0){_0x3a4464=_0x3a4464-0x0;var _0x42503f=_0xa4e4[_0x3a4464];return _0x42503f;};'use strict';var _=require('lodash');var util=require(_0x4a4e('0x0'));var logger=require('../../config/logger')(_0x4a4e('0x1'));var moment=require(_0x4a4e('0x2'));var BPromise=require(_0x4a4e('0x3'));var rp=require(_0x4a4e('0x4'));var fs=require('fs');var path=require(_0x4a4e('0x5'));var rimraf=require(_0x4a4e('0x6'));var config=require(_0x4a4e('0x7'));var attributes=require(_0x4a4e('0x8'));module[_0x4a4e('0x9')]=function(_0x30ef84,_0x4f4ced){return _0x30ef84['define'](_0x4a4e('0xa'),attributes,{'tableName':'user_has_voice_queues','paranoid':![],'indexes':[],'timestamps':!![]});};