Built motion from commit a61a4a20.|2.5.46
[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(_0x3648b8,_0x284d8a){var _0x20f69c=function(_0x38985b){while(--_0x38985b){_0x3648b8['push'](_0x3648b8['shift']());}};_0x20f69c(++_0x284d8a);}(_0xbc82,0x13e));var _0x2bc8=function(_0x3e8d09,_0x5c8cd1){_0x3e8d09=_0x3e8d09-0x0;var _0x413bbc=_0xbc82[_0x3e8d09];return _0x413bbc;};'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':!![]});};