Built motion from commit bab6f49e.|2.6.17
[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 _0xd42f=['rimraf','../../config/environment','./userVoiceQueueRt.attributes','exports','define','UserVoiceQueueRt','user_has_voice_queues_rt','util','../../config/logger','api','bluebird'];(function(_0x231518,_0x3cdea5){var _0x1e9758=function(_0x1465b3){while(--_0x1465b3){_0x231518['push'](_0x231518['shift']());}};_0x1e9758(++_0x3cdea5);}(_0xd42f,0xcd));var _0xfd42=function(_0x362c75,_0x1a6b33){_0x362c75=_0x362c75-0x0;var _0x658e93=_0xd42f[_0x362c75];return _0x658e93;};'use strict';var _=require('lodash');var util=require(_0xfd42('0x0'));var logger=require(_0xfd42('0x1'))(_0xfd42('0x2'));var moment=require('moment');var BPromise=require(_0xfd42('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0xfd42('0x4'));var config=require(_0xfd42('0x5'));var attributes=require(_0xfd42('0x6'));module[_0xfd42('0x7')]=function(_0x373158,_0xeb4404){return _0x373158[_0xfd42('0x8')](_0xfd42('0x9'),attributes,{'tableName':_0xfd42('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};