38bbf030c47f79f5f5f74469956e02231346a3d1
[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 _0x3c1b=['../../config/logger','bluebird','request-promise','path','rimraf','./userVoiceQueueRt.attributes','exports','define','UserVoiceQueueRt','user_has_voice_queues_rt','lodash','util'];(function(_0x56cd16,_0x3db791){var _0x519d7a=function(_0x3fe80a){while(--_0x3fe80a){_0x56cd16['push'](_0x56cd16['shift']());}};_0x519d7a(++_0x3db791);}(_0x3c1b,0xb2));var _0xb3c1=function(_0x184fec,_0x5ba796){_0x184fec=_0x184fec-0x0;var _0x5aa2a9=_0x3c1b[_0x184fec];return _0x5aa2a9;};'use strict';var _=require(_0xb3c1('0x0'));var util=require(_0xb3c1('0x1'));var logger=require(_0xb3c1('0x2'))('api');var moment=require('moment');var BPromise=require(_0xb3c1('0x3'));var rp=require(_0xb3c1('0x4'));var fs=require('fs');var path=require(_0xb3c1('0x5'));var rimraf=require(_0xb3c1('0x6'));var config=require('../../config/environment');var attributes=require(_0xb3c1('0x7'));module[_0xb3c1('0x8')]=function(_0x54705a,_0x1d62a4){return _0x54705a[_0xb3c1('0x9')](_0xb3c1('0xa'),attributes,{'tableName':_0xb3c1('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};