5fdbf718399452212513aeab94f3529ef75ea68b
[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 _0x3f4b=['../../config/logger','api','moment','path','rimraf','../../config/environment','./userVoiceQueue.attributes','define','UserVoiceQueue','user_has_voice_queues','lodash'];(function(_0x305b6d,_0x302fae){var _0x5c891b=function(_0x45230a){while(--_0x45230a){_0x305b6d['push'](_0x305b6d['shift']());}};_0x5c891b(++_0x302fae);}(_0x3f4b,0x1d8));var _0xb3f4=function(_0x3be075,_0x50d5b0){_0x3be075=_0x3be075-0x0;var _0xbe567b=_0x3f4b[_0x3be075];return _0xbe567b;};'use strict';var _=require(_0xb3f4('0x0'));var util=require('util');var logger=require(_0xb3f4('0x1'))(_0xb3f4('0x2'));var moment=require(_0xb3f4('0x3'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0xb3f4('0x4'));var rimraf=require(_0xb3f4('0x5'));var config=require(_0xb3f4('0x6'));var attributes=require(_0xb3f4('0x7'));module['exports']=function(_0x32e949,_0x515ae5){return _0x32e949[_0xb3f4('0x8')](_0xb3f4('0x9'),attributes,{'tableName':_0xb3f4('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};