d8b0d1b15d0c92b75ec81b11d3e7603a233bb415
[motion2.git] / server / api / teamVoiceQueue / teamVoiceQueue.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 _0xbc82=['path','./teamVoiceQueue.attributes','team_has_voice_queues','lodash','moment'];(function(_0x137803,_0x35680c){var _0x4ec652=function(_0x46c64e){while(--_0x46c64e){_0x137803['push'](_0x137803['shift']());}};_0x4ec652(++_0x35680c);}(_0xbc82,0x13e));var _0x2bc8=function(_0x31a783,_0x211d45){_0x31a783=_0x31a783-0x0;var _0x24ff25=_0xbc82[_0x31a783];return _0x24ff25;};'use strict';var _=require(_0x2bc8('0x0'));var util=require('util');var logger=require('../../config/logger')('api');var moment=require(_0x2bc8('0x1'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0x2bc8('0x2'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0x2bc8('0x3'));module['exports']=function(_0x54d303,_0x3d12fc){return _0x54d303['define']('TeamVoiceQueue',attributes,{'tableName':_0x2bc8('0x4'),'paranoid':![],'indexes':[],'timestamps':!![]});};