4fa323260febcfca148035fda0cbe0cf8e306b90
[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 _0x7aaf=['./teamVoiceQueue.attributes','exports','TeamVoiceQueue','lodash','../../config/logger','api','request-promise','rimraf'];(function(_0x5b11b1,_0x7b7914){var _0x3218a0=function(_0x347f36){while(--_0x347f36){_0x5b11b1['push'](_0x5b11b1['shift']());}};_0x3218a0(++_0x7b7914);}(_0x7aaf,0x1eb));var _0xf7aa=function(_0xffa4ea,_0x243f9c){_0xffa4ea=_0xffa4ea-0x0;var _0x3297b3=_0x7aaf[_0xffa4ea];return _0x3297b3;};'use strict';var _=require(_0xf7aa('0x0'));var util=require('util');var logger=require(_0xf7aa('0x1'))(_0xf7aa('0x2'));var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0xf7aa('0x3'));var fs=require('fs');var path=require('path');var rimraf=require(_0xf7aa('0x4'));var config=require('../../config/environment');var attributes=require(_0xf7aa('0x5'));module[_0xf7aa('0x6')]=function(_0x1babcd,_0xf02ed5){return _0x1babcd['define'](_0xf7aa('0x7'),attributes,{'tableName':'team_has_voice_queues','paranoid':![],'indexes':[],'timestamps':!![]});};