61708be1baae631858f86b3001ae40cf4b7577b8
[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 _0xa8ee=['moment','bluebird','request-promise','rimraf','../../config/environment','./userVoiceQueueRt.attributes','exports','UserVoiceQueueRt','user_has_voice_queues_rt','lodash','util','api'];(function(_0x263b35,_0x421508){var _0x48168e=function(_0x3bb3a6){while(--_0x3bb3a6){_0x263b35['push'](_0x263b35['shift']());}};_0x48168e(++_0x421508);}(_0xa8ee,0x1e9));var _0xea8e=function(_0x3044e4,_0x4073f9){_0x3044e4=_0x3044e4-0x0;var _0x5d07cd=_0xa8ee[_0x3044e4];return _0x5d07cd;};'use strict';var _=require(_0xea8e('0x0'));var util=require(_0xea8e('0x1'));var logger=require('../../config/logger')(_0xea8e('0x2'));var moment=require(_0xea8e('0x3'));var BPromise=require(_0xea8e('0x4'));var rp=require(_0xea8e('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0xea8e('0x6'));var config=require(_0xea8e('0x7'));var attributes=require(_0xea8e('0x8'));module[_0xea8e('0x9')]=function(_0x4f29a5,_0x1ce481){return _0x4f29a5['define'](_0xea8e('0xa'),attributes,{'tableName':_0xea8e('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};