Built motion from commit a61a4a20.|2.5.46
[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 _0xecb5=['exports','define','UserVoiceQueueRt','user_has_voice_queues_rt','util','../../config/logger','moment','bluebird','request-promise','rimraf','../../config/environment'];(function(_0x4b91c4,_0x23f35f){var _0x25cb80=function(_0x48e283){while(--_0x48e283){_0x4b91c4['push'](_0x4b91c4['shift']());}};_0x25cb80(++_0x23f35f);}(_0xecb5,0x164));var _0x5ecb=function(_0x59fee4,_0x4d0a89){_0x59fee4=_0x59fee4-0x0;var _0x555f8c=_0xecb5[_0x59fee4];return _0x555f8c;};'use strict';var _=require('lodash');var util=require(_0x5ecb('0x0'));var logger=require(_0x5ecb('0x1'))('api');var moment=require(_0x5ecb('0x2'));var BPromise=require(_0x5ecb('0x3'));var rp=require(_0x5ecb('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0x5ecb('0x5'));var config=require(_0x5ecb('0x6'));var attributes=require('./userVoiceQueueRt.attributes');module[_0x5ecb('0x7')]=function(_0x5b8e3f,_0x4f66cc){return _0x5b8e3f[_0x5ecb('0x8')](_0x5ecb('0x9'),attributes,{'tableName':_0x5ecb('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};