Built motion from commit b5413ace.|2.6.9
[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 _0x8090=['api','moment','rimraf','./userVoiceQueueRt.attributes','exports','define','UserVoiceQueueRt','user_has_voice_queues_rt','util','../../config/logger'];(function(_0x596942,_0x1505c8){var _0x18fcf3=function(_0xbeae87){while(--_0xbeae87){_0x596942['push'](_0x596942['shift']());}};_0x18fcf3(++_0x1505c8);}(_0x8090,0x1ca));var _0x0809=function(_0x177dc7,_0x13501c){_0x177dc7=_0x177dc7-0x0;var _0x19b7dc=_0x8090[_0x177dc7];return _0x19b7dc;};'use strict';var _=require('lodash');var util=require(_0x0809('0x0'));var logger=require(_0x0809('0x1'))(_0x0809('0x2'));var moment=require(_0x0809('0x3'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0x0809('0x4'));var config=require('../../config/environment');var attributes=require(_0x0809('0x5'));module[_0x0809('0x6')]=function(_0x1bc77d,_0x2c791d){return _0x1bc77d[_0x0809('0x7')](_0x0809('0x8'),attributes,{'tableName':_0x0809('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};