6f6133f957e77cb6ea0939bab433fcba36072a98
[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 _0x0776=['path','rimraf','../../config/environment','./userVoiceQueueRt.attributes','exports','define','UserVoiceQueueRt','user_has_voice_queues_rt','util','../../config/logger','api','moment','bluebird','request-promise'];(function(_0x991fd,_0x14b2a7){var _0x5f3f47=function(_0xc2c79e){while(--_0xc2c79e){_0x991fd['push'](_0x991fd['shift']());}};_0x5f3f47(++_0x14b2a7);}(_0x0776,0xcc));var _0x6077=function(_0x43710e,_0x391005){_0x43710e=_0x43710e-0x0;var _0x4f5f3a=_0x0776[_0x43710e];return _0x4f5f3a;};'use strict';var _=require('lodash');var util=require(_0x6077('0x0'));var logger=require(_0x6077('0x1'))(_0x6077('0x2'));var moment=require(_0x6077('0x3'));var BPromise=require(_0x6077('0x4'));var rp=require(_0x6077('0x5'));var fs=require('fs');var path=require(_0x6077('0x6'));var rimraf=require(_0x6077('0x7'));var config=require(_0x6077('0x8'));var attributes=require(_0x6077('0x9'));module[_0x6077('0xa')]=function(_0x299eee,_0x10152a){return _0x299eee[_0x6077('0xb')](_0x6077('0xc'),attributes,{'tableName':_0x6077('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};