Built motion from commit c738b9ac.|2.6.25
[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 _0xf9bb=['./teamVoiceQueue.attributes','exports','team_has_voice_queues','lodash','util','../../config/logger','moment','bluebird','rimraf','../../config/environment'];(function(_0x3d276e,_0x3a5df3){var _0x73ddf2=function(_0x417c8e){while(--_0x417c8e){_0x3d276e['push'](_0x3d276e['shift']());}};_0x73ddf2(++_0x3a5df3);}(_0xf9bb,0x14d));var _0xbf9b=function(_0x52bfa5,_0x42cf21){_0x52bfa5=_0x52bfa5-0x0;var _0x26f80b=_0xf9bb[_0x52bfa5];return _0x26f80b;};'use strict';var _=require(_0xbf9b('0x0'));var util=require(_0xbf9b('0x1'));var logger=require(_0xbf9b('0x2'))('api');var moment=require(_0xbf9b('0x3'));var BPromise=require(_0xbf9b('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0xbf9b('0x5'));var config=require(_0xbf9b('0x6'));var attributes=require(_0xbf9b('0x7'));module[_0xbf9b('0x8')]=function(_0x46d1f,_0x7fa5a){return _0x46d1f['define']('TeamVoiceQueue',attributes,{'tableName':_0xbf9b('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};