cca37dabaa71df84f4a6cf0f120379eaf4fd210f
[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 _0xb285=['../../config/logger','api','moment','request-promise','path','rimraf','../../config/environment','./userVoiceQueue.attributes','exports','define','UserVoiceQueue','user_has_voice_queues','lodash','util'];(function(_0x41b836,_0x2f7d3a){var _0x444ab9=function(_0x30009d){while(--_0x30009d){_0x41b836['push'](_0x41b836['shift']());}};_0x444ab9(++_0x2f7d3a);}(_0xb285,0x1be));var _0x5b28=function(_0x1ebe90,_0x5d29fc){_0x1ebe90=_0x1ebe90-0x0;var _0x447c82=_0xb285[_0x1ebe90];return _0x447c82;};'use strict';var _=require(_0x5b28('0x0'));var util=require(_0x5b28('0x1'));var logger=require(_0x5b28('0x2'))(_0x5b28('0x3'));var moment=require(_0x5b28('0x4'));var BPromise=require('bluebird');var rp=require(_0x5b28('0x5'));var fs=require('fs');var path=require(_0x5b28('0x6'));var rimraf=require(_0x5b28('0x7'));var config=require(_0x5b28('0x8'));var attributes=require(_0x5b28('0x9'));module[_0x5b28('0xa')]=function(_0x1c3dae,_0x116e31){return _0x1c3dae[_0x5b28('0xb')](_0x5b28('0xc'),attributes,{'tableName':_0x5b28('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};