ed8a9ec513831dd71f64f7584513199d78479cce
[motion2.git] / server / api / userVoiceQueueRt / userVoiceQueueRt.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 _0x118b=['user_has_voice_queues_rt','lodash','util','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','exports','define','UserVoiceQueueRt'];(function(_0x58afd5,_0x534a48){var _0x3e503b=function(_0x27ba44){while(--_0x27ba44){_0x58afd5['push'](_0x58afd5['shift']());}};_0x3e503b(++_0x534a48);}(_0x118b,0x160));var _0xb118=function(_0x1aed80,_0x3ca6f6){_0x1aed80=_0x1aed80-0x0;var _0x43961e=_0x118b[_0x1aed80];return _0x43961e;};'use strict';var _=require(_0xb118('0x0'));var util=require(_0xb118('0x1'));var logger=require('../../config/logger')(_0xb118('0x2'));var moment=require(_0xb118('0x3'));var BPromise=require(_0xb118('0x4'));var rp=require(_0xb118('0x5'));var fs=require('fs');var path=require(_0xb118('0x6'));var rimraf=require(_0xb118('0x7'));var config=require(_0xb118('0x8'));var attributes=require('./userVoiceQueueRt.attributes');module[_0xb118('0x9')]=function(_0x55ded1,_0x18c267){return _0x55ded1[_0xb118('0xa')](_0xb118('0xb'),attributes,{'tableName':_0xb118('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};