Built motion from commit 00bf23f6.|2.6.16
[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 _0xaf80=['rimraf','../../config/environment','./teamVoiceQueue.attributes','exports','TeamVoiceQueue','lodash','util','../../config/logger','api','path'];(function(_0x34aa82,_0x42a05d){var _0x1e389b=function(_0x439c7b){while(--_0x439c7b){_0x34aa82['push'](_0x34aa82['shift']());}};_0x1e389b(++_0x42a05d);}(_0xaf80,0x1ef));var _0x0af8=function(_0x408581,_0x180cd0){_0x408581=_0x408581-0x0;var _0x538e35=_0xaf80[_0x408581];return _0x538e35;};'use strict';var _=require(_0x0af8('0x0'));var util=require(_0x0af8('0x1'));var logger=require(_0x0af8('0x2'))(_0x0af8('0x3'));var moment=require('moment');var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0x0af8('0x4'));var rimraf=require(_0x0af8('0x5'));var config=require(_0x0af8('0x6'));var attributes=require(_0x0af8('0x7'));module[_0x0af8('0x8')]=function(_0x20fdc5,_0x5180bf){return _0x20fdc5['define'](_0x0af8('0x9'),attributes,{'tableName':'team_has_voice_queues','paranoid':![],'indexes':[],'timestamps':!![]});};