cab89686f410b813b7a3bc90c9e6cc5fb23d948f
[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 _0xdfe6=['bluebird','request-promise','path','rimraf','./userVoiceQueueRt.attributes','define','UserVoiceQueueRt','user_has_voice_queues_rt','../../config/logger','api','moment'];(function(_0x25dd69,_0x5030e9){var _0x4a579c=function(_0x1e4e33){while(--_0x1e4e33){_0x25dd69['push'](_0x25dd69['shift']());}};_0x4a579c(++_0x5030e9);}(_0xdfe6,0xad));var _0x6dfe=function(_0x126dd5,_0x1eea47){_0x126dd5=_0x126dd5-0x0;var _0x1885f4=_0xdfe6[_0x126dd5];return _0x1885f4;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0x6dfe('0x0'))(_0x6dfe('0x1'));var moment=require(_0x6dfe('0x2'));var BPromise=require(_0x6dfe('0x3'));var rp=require(_0x6dfe('0x4'));var fs=require('fs');var path=require(_0x6dfe('0x5'));var rimraf=require(_0x6dfe('0x6'));var config=require('../../config/environment');var attributes=require(_0x6dfe('0x7'));module['exports']=function(_0x55c7c9,_0x4d0616){return _0x55c7c9[_0x6dfe('0x8')](_0x6dfe('0x9'),attributes,{'tableName':_0x6dfe('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};