Built motion from commit 3c2ce842.|2.6.31
[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 _0x3613=['lodash','util','../../config/logger','api','moment','bluebird','request-promise','rimraf','./teamVoiceQueue.attributes','exports','define','team_has_voice_queues'];(function(_0x2bb441,_0x1957ae){var _0x26f916=function(_0x3946a3){while(--_0x3946a3){_0x2bb441['push'](_0x2bb441['shift']());}};_0x26f916(++_0x1957ae);}(_0x3613,0x198));var _0x3361=function(_0x382541,_0x3f07ed){_0x382541=_0x382541-0x0;var _0x10f6f0=_0x3613[_0x382541];return _0x10f6f0;};'use strict';var _=require(_0x3361('0x0'));var util=require(_0x3361('0x1'));var logger=require(_0x3361('0x2'))(_0x3361('0x3'));var moment=require(_0x3361('0x4'));var BPromise=require(_0x3361('0x5'));var rp=require(_0x3361('0x6'));var fs=require('fs');var path=require('path');var rimraf=require(_0x3361('0x7'));var config=require('../../config/environment');var attributes=require(_0x3361('0x8'));module[_0x3361('0x9')]=function(_0xa1bc1b,_0x2e2d6c){return _0xa1bc1b[_0x3361('0xa')]('TeamVoiceQueue',attributes,{'tableName':_0x3361('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};