eb1dbfbce50c73cf9efe6af7c1ec9877e86a5bb4
[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 _0xff9e=['exports','UserVoiceQueue','lodash','util','../../config/logger','api','moment','request-promise','path','../../config/environment','./userVoiceQueue.attributes'];(function(_0x167cc1,_0x56ef5a){var _0x10bc4b=function(_0xd6a255){while(--_0xd6a255){_0x167cc1['push'](_0x167cc1['shift']());}};_0x10bc4b(++_0x56ef5a);}(_0xff9e,0xe9));var _0xeff9=function(_0x3f0753,_0x556828){_0x3f0753=_0x3f0753-0x0;var _0x519e6a=_0xff9e[_0x3f0753];return _0x519e6a;};'use strict';var _=require(_0xeff9('0x0'));var util=require(_0xeff9('0x1'));var logger=require(_0xeff9('0x2'))(_0xeff9('0x3'));var moment=require(_0xeff9('0x4'));var BPromise=require('bluebird');var rp=require(_0xeff9('0x5'));var fs=require('fs');var path=require(_0xeff9('0x6'));var rimraf=require('rimraf');var config=require(_0xeff9('0x7'));var attributes=require(_0xeff9('0x8'));module[_0xeff9('0x9')]=function(_0x9b1cab,_0x4f1898){return _0x9b1cab['define'](_0xeff9('0xa'),attributes,{'tableName':'user_has_voice_queues','paranoid':![],'indexes':[],'timestamps':!![]});};