205a126c3c3f076c5778a002ee4d7ffa9c3d889b
[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 _0x5d4b=['user_has_voice_queues_rt','util','../../config/logger','api','moment','bluebird','path','rimraf','UserVoiceQueueRt'];(function(_0x321bb2,_0x202794){var _0x9c12ed=function(_0x263dd3){while(--_0x263dd3){_0x321bb2['push'](_0x321bb2['shift']());}};_0x9c12ed(++_0x202794);}(_0x5d4b,0x64));var _0xb5d4=function(_0xe7367c,_0x1c542b){_0xe7367c=_0xe7367c-0x0;var _0x1acef4=_0x5d4b[_0xe7367c];return _0x1acef4;};'use strict';var _=require('lodash');var util=require(_0xb5d4('0x0'));var logger=require(_0xb5d4('0x1'))(_0xb5d4('0x2'));var moment=require(_0xb5d4('0x3'));var BPromise=require(_0xb5d4('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xb5d4('0x5'));var rimraf=require(_0xb5d4('0x6'));var config=require('../../config/environment');var attributes=require('./userVoiceQueueRt.attributes');module['exports']=function(_0x2ad980,_0x44ac7d){return _0x2ad980['define'](_0xb5d4('0x7'),attributes,{'tableName':_0xb5d4('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};