Built motion from commit 9e1399f3.|2.5.37
[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 _0xcafb=['user_has_voice_queues_rt','util','api','bluebird','rimraf','../../config/environment','./userVoiceQueueRt.attributes','exports','UserVoiceQueueRt'];(function(_0xc8a931,_0x260690){var _0x28bd27=function(_0x591b9f){while(--_0x591b9f){_0xc8a931['push'](_0xc8a931['shift']());}};_0x28bd27(++_0x260690);}(_0xcafb,0x1d5));var _0xbcaf=function(_0x39a315,_0x521ba8){_0x39a315=_0x39a315-0x0;var _0x45fb9f=_0xcafb[_0x39a315];return _0x45fb9f;};'use strict';var _=require('lodash');var util=require(_0xbcaf('0x0'));var logger=require('../../config/logger')(_0xbcaf('0x1'));var moment=require('moment');var BPromise=require(_0xbcaf('0x2'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0xbcaf('0x3'));var config=require(_0xbcaf('0x4'));var attributes=require(_0xbcaf('0x5'));module[_0xbcaf('0x6')]=function(_0x47751e,_0x3f6ae8){return _0x47751e['define'](_0xbcaf('0x7'),attributes,{'tableName':_0xbcaf('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};