1b262b9f85153dd8d82f134d961caeb8c026bdc3
[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 _0xe4f9=['rimraf','../../config/environment','./userVoiceQueueRt.attributes','define','UserVoiceQueueRt','user_has_voice_queues_rt','lodash','util','../../config/logger','moment','bluebird','request-promise'];(function(_0x1be617,_0x5f4160){var _0x545312=function(_0x526775){while(--_0x526775){_0x1be617['push'](_0x1be617['shift']());}};_0x545312(++_0x5f4160);}(_0xe4f9,0x1e6));var _0x9e4f=function(_0x544915,_0x3721f4){_0x544915=_0x544915-0x0;var _0x5f2a29=_0xe4f9[_0x544915];return _0x5f2a29;};'use strict';var _=require(_0x9e4f('0x0'));var util=require(_0x9e4f('0x1'));var logger=require(_0x9e4f('0x2'))('api');var moment=require(_0x9e4f('0x3'));var BPromise=require(_0x9e4f('0x4'));var rp=require(_0x9e4f('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0x9e4f('0x6'));var config=require(_0x9e4f('0x7'));var attributes=require(_0x9e4f('0x8'));module['exports']=function(_0x3b2b05,_0x12c6a6){return _0x3b2b05[_0x9e4f('0x9')](_0x9e4f('0xa'),attributes,{'tableName':_0x9e4f('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};