Built motion from commit 85328c08.|2.5.50
[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 _0xecd5=['TeamVoiceQueue','team_has_voice_queues','util','../../config/logger','api','bluebird','request-promise','path','rimraf','./teamVoiceQueue.attributes'];(function(_0x1a36e9,_0xe0aa5e){var _0x32cdd1=function(_0x4c32df){while(--_0x4c32df){_0x1a36e9['push'](_0x1a36e9['shift']());}};_0x32cdd1(++_0xe0aa5e);}(_0xecd5,0x110));var _0x5ecd=function(_0x1ec28e,_0x561fda){_0x1ec28e=_0x1ec28e-0x0;var _0x9aa737=_0xecd5[_0x1ec28e];return _0x9aa737;};'use strict';var _=require('lodash');var util=require(_0x5ecd('0x0'));var logger=require(_0x5ecd('0x1'))(_0x5ecd('0x2'));var moment=require('moment');var BPromise=require(_0x5ecd('0x3'));var rp=require(_0x5ecd('0x4'));var fs=require('fs');var path=require(_0x5ecd('0x5'));var rimraf=require(_0x5ecd('0x6'));var config=require('../../config/environment');var attributes=require(_0x5ecd('0x7'));module['exports']=function(_0x1ddbad,_0x492eba){return _0x1ddbad['define'](_0x5ecd('0x8'),attributes,{'tableName':_0x5ecd('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};