eac9e82ecce717b686d338a938ac1285b1f7b92a
[motion2.git] / server / api / userVoiceQueue / userVoiceQueue.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 _0x81bd=['../../config/environment','./userVoiceQueue.attributes','UserVoiceQueue','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf'];(function(_0x3f8c4d,_0x4595c6){var _0x2e3fb3=function(_0x472e6f){while(--_0x472e6f){_0x3f8c4d['push'](_0x3f8c4d['shift']());}};_0x2e3fb3(++_0x4595c6);}(_0x81bd,0x1bf));var _0xd81b=function(_0x30ffc1,_0x556cd6){_0x30ffc1=_0x30ffc1-0x0;var _0x586b40=_0x81bd[_0x30ffc1];return _0x586b40;};'use strict';var _=require(_0xd81b('0x0'));var util=require(_0xd81b('0x1'));var logger=require(_0xd81b('0x2'))(_0xd81b('0x3'));var moment=require(_0xd81b('0x4'));var BPromise=require(_0xd81b('0x5'));var rp=require(_0xd81b('0x6'));var fs=require('fs');var path=require(_0xd81b('0x7'));var rimraf=require(_0xd81b('0x8'));var config=require(_0xd81b('0x9'));var attributes=require(_0xd81b('0xa'));module['exports']=function(_0x5890d6,_0x1f0f02){return _0x5890d6['define'](_0xd81b('0xb'),attributes,{'tableName':'user_has_voice_queues','paranoid':![],'indexes':[],'timestamps':!![]});};