8f608aa184709349a53a39571f2b12c18c876928
[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 _0x9b2a=['path','./teamVoiceQueue.attributes','exports','TeamVoiceQueue','team_has_voice_queues','lodash','../../config/logger','api','moment','request-promise'];(function(_0x20a584,_0xe384a5){var _0x4b41a8=function(_0x2127c6){while(--_0x2127c6){_0x20a584['push'](_0x20a584['shift']());}};_0x4b41a8(++_0xe384a5);}(_0x9b2a,0x127));var _0xa9b2=function(_0x5dc089,_0x275676){_0x5dc089=_0x5dc089-0x0;var _0x4d9907=_0x9b2a[_0x5dc089];return _0x4d9907;};'use strict';var _=require(_0xa9b2('0x0'));var util=require('util');var logger=require(_0xa9b2('0x1'))(_0xa9b2('0x2'));var moment=require(_0xa9b2('0x3'));var BPromise=require('bluebird');var rp=require(_0xa9b2('0x4'));var fs=require('fs');var path=require(_0xa9b2('0x5'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0xa9b2('0x6'));module[_0xa9b2('0x7')]=function(_0x181a8f,_0xd7801e){return _0x181a8f['define'](_0xa9b2('0x8'),attributes,{'tableName':_0xa9b2('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};