Built motion from commit 497d3d92.|2.5.43
[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 _0xc08a=['util','../../config/logger','api','moment','bluebird','rimraf','../../config/environment','exports','define','UserVoiceQueueRt','lodash'];(function(_0x25ad25,_0x57d54f){var _0x534a43=function(_0x4630fe){while(--_0x4630fe){_0x25ad25['push'](_0x25ad25['shift']());}};_0x534a43(++_0x57d54f);}(_0xc08a,0xd0));var _0xac08=function(_0x63be86,_0x3e237e){_0x63be86=_0x63be86-0x0;var _0x25275e=_0xc08a[_0x63be86];return _0x25275e;};'use strict';var _=require(_0xac08('0x0'));var util=require(_0xac08('0x1'));var logger=require(_0xac08('0x2'))(_0xac08('0x3'));var moment=require(_0xac08('0x4'));var BPromise=require(_0xac08('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0xac08('0x6'));var config=require(_0xac08('0x7'));var attributes=require('./userVoiceQueueRt.attributes');module[_0xac08('0x8')]=function(_0x2b721c,_0x1004ee){return _0x2b721c[_0xac08('0x9')](_0xac08('0xa'),attributes,{'tableName':'user_has_voice_queues_rt','paranoid':![],'indexes':[],'timestamps':!![]});};