Built motion from commit (unavailable).|2.5.26
[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 _0x1f46=['bluebird','rimraf','../../config/environment','exports','define','UserVoiceQueueRt','lodash','util','../../config/logger','api','moment'];(function(_0x296a40,_0xa725d1){var _0x409185=function(_0x466a1e){while(--_0x466a1e){_0x296a40['push'](_0x296a40['shift']());}};_0x409185(++_0xa725d1);}(_0x1f46,0x1d4));var _0x61f4=function(_0x525609,_0x1bfcd9){_0x525609=_0x525609-0x0;var _0x3f991e=_0x1f46[_0x525609];return _0x3f991e;};'use strict';var _=require(_0x61f4('0x0'));var util=require(_0x61f4('0x1'));var logger=require(_0x61f4('0x2'))(_0x61f4('0x3'));var moment=require(_0x61f4('0x4'));var BPromise=require(_0x61f4('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0x61f4('0x6'));var config=require(_0x61f4('0x7'));var attributes=require('./userVoiceQueueRt.attributes');module[_0x61f4('0x8')]=function(_0x56a993,_0x4b03ee){return _0x56a993[_0x61f4('0x9')](_0x61f4('0xa'),attributes,{'tableName':'user_has_voice_queues_rt','paranoid':![],'indexes':[],'timestamps':!![]});};