2b483eabced1d8187980b248f7fef148916c3c35
[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 _0xa6b5=['./userVoiceQueue.attributes','define','user_has_voice_queues','../../config/logger','api','moment','request-promise','../../config/environment'];(function(_0x20b986,_0x4ae649){var _0x59a42e=function(_0x2150ff){while(--_0x2150ff){_0x20b986['push'](_0x20b986['shift']());}};_0x59a42e(++_0x4ae649);}(_0xa6b5,0x7b));var _0x5a6b=function(_0x25509e,_0x1914ac){_0x25509e=_0x25509e-0x0;var _0x363ebb=_0xa6b5[_0x25509e];return _0x363ebb;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0x5a6b('0x0'))(_0x5a6b('0x1'));var moment=require(_0x5a6b('0x2'));var BPromise=require('bluebird');var rp=require(_0x5a6b('0x3'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0x5a6b('0x4'));var attributes=require(_0x5a6b('0x5'));module['exports']=function(_0xe1796c,_0x455d80){return _0xe1796c[_0x5a6b('0x6')]('UserVoiceQueue',attributes,{'tableName':_0x5a6b('0x7'),'paranoid':![],'indexes':[],'timestamps':!![]});};