de016f655c46da6b80bde64b4ada4872142d734e
[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 _0x3fd6=['define','UserVoiceQueueRt','util','moment','bluebird','request-promise','path','rimraf','../../config/environment'];(function(_0x28757f,_0x2bf06e){var _0x4411bb=function(_0x185354){while(--_0x185354){_0x28757f['push'](_0x28757f['shift']());}};_0x4411bb(++_0x2bf06e);}(_0x3fd6,0xd1));var _0x63fd=function(_0x2641f9,_0x26715f){_0x2641f9=_0x2641f9-0x0;var _0x585741=_0x3fd6[_0x2641f9];return _0x585741;};'use strict';var _=require('lodash');var util=require(_0x63fd('0x0'));var logger=require('../../config/logger')('api');var moment=require(_0x63fd('0x1'));var BPromise=require(_0x63fd('0x2'));var rp=require(_0x63fd('0x3'));var fs=require('fs');var path=require(_0x63fd('0x4'));var rimraf=require(_0x63fd('0x5'));var config=require(_0x63fd('0x6'));var attributes=require('./userVoiceQueueRt.attributes');module['exports']=function(_0x4dbd98,_0x100b3a){return _0x4dbd98[_0x63fd('0x7')](_0x63fd('0x8'),attributes,{'tableName':'user_has_voice_queues_rt','paranoid':![],'indexes':[],'timestamps':!![]});};