07c284da6bde6547192a23e0f49169fb85e1eb1c
[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 _0x1928=['exports','define','TeamVoiceQueue','team_has_voice_queues','lodash','util','../../config/logger','moment','bluebird','request-promise','path','rimraf','../../config/environment','./teamVoiceQueue.attributes'];(function(_0x5a1a51,_0x144c79){var _0x47edd7=function(_0x2259bb){while(--_0x2259bb){_0x5a1a51['push'](_0x5a1a51['shift']());}};_0x47edd7(++_0x144c79);}(_0x1928,0x138));var _0x8192=function(_0x254756,_0x2128c2){_0x254756=_0x254756-0x0;var _0x4dd33e=_0x1928[_0x254756];return _0x4dd33e;};'use strict';var _=require(_0x8192('0x0'));var util=require(_0x8192('0x1'));var logger=require(_0x8192('0x2'))('api');var moment=require(_0x8192('0x3'));var BPromise=require(_0x8192('0x4'));var rp=require(_0x8192('0x5'));var fs=require('fs');var path=require(_0x8192('0x6'));var rimraf=require(_0x8192('0x7'));var config=require(_0x8192('0x8'));var attributes=require(_0x8192('0x9'));module[_0x8192('0xa')]=function(_0x426163,_0x25f90e){return _0x426163[_0x8192('0xb')](_0x8192('0xc'),attributes,{'tableName':_0x8192('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};