Built motion from commit da617fac.|2.6.6
[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 _0xb251=['user_has_voice_queues_rt','util','api','moment','request-promise','path','rimraf','./userVoiceQueueRt.attributes','exports','define','UserVoiceQueueRt'];(function(_0x262d5d,_0x4d3971){var _0x5efb20=function(_0x24c93f){while(--_0x24c93f){_0x262d5d['push'](_0x262d5d['shift']());}};_0x5efb20(++_0x4d3971);}(_0xb251,0xc7));var _0x1b25=function(_0x82b747,_0x455313){_0x82b747=_0x82b747-0x0;var _0x44580e=_0xb251[_0x82b747];return _0x44580e;};'use strict';var _=require('lodash');var util=require(_0x1b25('0x0'));var logger=require('../../config/logger')(_0x1b25('0x1'));var moment=require(_0x1b25('0x2'));var BPromise=require('bluebird');var rp=require(_0x1b25('0x3'));var fs=require('fs');var path=require(_0x1b25('0x4'));var rimraf=require(_0x1b25('0x5'));var config=require('../../config/environment');var attributes=require(_0x1b25('0x6'));module[_0x1b25('0x7')]=function(_0x2e4b4c,_0x466a29){return _0x2e4b4c[_0x1b25('0x8')](_0x1b25('0x9'),attributes,{'tableName':_0x1b25('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};