c3a67e10e5ada6ccff5183f08da6953a6ebe58e8
[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 _0x4f61=['request-promise','path','rimraf','../../config/environment','./userVoiceQueue.attributes','user_has_voice_queues','lodash','util','../../config/logger','api','moment'];(function(_0x2be663,_0x24c6a8){var _0x2c57d6=function(_0x111b54){while(--_0x111b54){_0x2be663['push'](_0x2be663['shift']());}};_0x2c57d6(++_0x24c6a8);}(_0x4f61,0x1c9));var _0x14f6=function(_0x2fdf7c,_0x18bc01){_0x2fdf7c=_0x2fdf7c-0x0;var _0x3c2be0=_0x4f61[_0x2fdf7c];return _0x3c2be0;};'use strict';var _=require(_0x14f6('0x0'));var util=require(_0x14f6('0x1'));var logger=require(_0x14f6('0x2'))(_0x14f6('0x3'));var moment=require(_0x14f6('0x4'));var BPromise=require('bluebird');var rp=require(_0x14f6('0x5'));var fs=require('fs');var path=require(_0x14f6('0x6'));var rimraf=require(_0x14f6('0x7'));var config=require(_0x14f6('0x8'));var attributes=require(_0x14f6('0x9'));module['exports']=function(_0x1f9ede,_0x325c7c){return _0x1f9ede['define']('UserVoiceQueue',attributes,{'tableName':_0x14f6('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};