33af8690301e01ba00962a9ceef57629ab05dd28
[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 _0x838b=['lodash','util','../../config/logger','bluebird','path','rimraf','../../config/environment','./userVoiceQueueRt.attributes','exports','define','UserVoiceQueueRt','user_has_voice_queues_rt'];(function(_0x1cc21c,_0x5597e1){var _0x34739f=function(_0x1f8723){while(--_0x1f8723){_0x1cc21c['push'](_0x1cc21c['shift']());}};_0x34739f(++_0x5597e1);}(_0x838b,0x1ec));var _0xb838=function(_0x5f2103,_0x559677){_0x5f2103=_0x5f2103-0x0;var _0x1027ad=_0x838b[_0x5f2103];return _0x1027ad;};'use strict';var _=require(_0xb838('0x0'));var util=require(_0xb838('0x1'));var logger=require(_0xb838('0x2'))('api');var moment=require('moment');var BPromise=require(_0xb838('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xb838('0x4'));var rimraf=require(_0xb838('0x5'));var config=require(_0xb838('0x6'));var attributes=require(_0xb838('0x7'));module[_0xb838('0x8')]=function(_0x5e8541,_0x562b12){return _0x5e8541[_0xb838('0x9')](_0xb838('0xa'),attributes,{'tableName':_0xb838('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};