a77fef97c3e1f641509a2a2f68014e5ab3da59b5
[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 _0x23ea=['../../config/logger','api','moment','bluebird','rimraf','../../config/environment','./userVoiceQueueRt.attributes','define','UserVoiceQueueRt','user_has_voice_queues_rt','lodash','util'];(function(_0x13a1dc,_0x195952){var _0x11f607=function(_0x2f2d6e){while(--_0x2f2d6e){_0x13a1dc['push'](_0x13a1dc['shift']());}};_0x11f607(++_0x195952);}(_0x23ea,0x1a2));var _0xa23e=function(_0x23d706,_0x12b65b){_0x23d706=_0x23d706-0x0;var _0x66611c=_0x23ea[_0x23d706];return _0x66611c;};'use strict';var _=require(_0xa23e('0x0'));var util=require(_0xa23e('0x1'));var logger=require(_0xa23e('0x2'))(_0xa23e('0x3'));var moment=require(_0xa23e('0x4'));var BPromise=require(_0xa23e('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0xa23e('0x6'));var config=require(_0xa23e('0x7'));var attributes=require(_0xa23e('0x8'));module['exports']=function(_0x1ff79b,_0x1210f6){return _0x1ff79b[_0xa23e('0x9')](_0xa23e('0xa'),attributes,{'tableName':_0xa23e('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};