Built motion from commit (unavailable).|2.5.28
[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 _0xb9ad=['rimraf','./teamVoiceQueue.attributes','exports','TeamVoiceQueue','team_has_voice_queues','util','api','moment','bluebird','request-promise','path'];(function(_0x34381a,_0x5ce496){var _0x4f0926=function(_0x6e0813){while(--_0x6e0813){_0x34381a['push'](_0x34381a['shift']());}};_0x4f0926(++_0x5ce496);}(_0xb9ad,0x1f4));var _0xdb9a=function(_0x2dafbe,_0x5d04de){_0x2dafbe=_0x2dafbe-0x0;var _0x58a45a=_0xb9ad[_0x2dafbe];return _0x58a45a;};'use strict';var _=require('lodash');var util=require(_0xdb9a('0x0'));var logger=require('../../config/logger')(_0xdb9a('0x1'));var moment=require(_0xdb9a('0x2'));var BPromise=require(_0xdb9a('0x3'));var rp=require(_0xdb9a('0x4'));var fs=require('fs');var path=require(_0xdb9a('0x5'));var rimraf=require(_0xdb9a('0x6'));var config=require('../../config/environment');var attributes=require(_0xdb9a('0x7'));module[_0xdb9a('0x8')]=function(_0x3a17d,_0x2bb2df){return _0x3a17d['define'](_0xdb9a('0x9'),attributes,{'tableName':_0xdb9a('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};