543f98ffe16caf4b2c9d1ac030cf439d66fa5c3c
[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 _0x24a6=['../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./teamVoiceQueue.attributes','exports','define','TeamVoiceQueue','team_has_voice_queues','lodash'];(function(_0x9b5c02,_0x5e6e0b){var _0x259a35=function(_0x22050b){while(--_0x22050b){_0x9b5c02['push'](_0x9b5c02['shift']());}};_0x259a35(++_0x5e6e0b);}(_0x24a6,0x14f));var _0x624a=function(_0x5a45cc,_0x4da97c){_0x5a45cc=_0x5a45cc-0x0;var _0x235c38=_0x24a6[_0x5a45cc];return _0x235c38;};'use strict';var _=require(_0x624a('0x0'));var util=require('util');var logger=require(_0x624a('0x1'))(_0x624a('0x2'));var moment=require(_0x624a('0x3'));var BPromise=require(_0x624a('0x4'));var rp=require(_0x624a('0x5'));var fs=require('fs');var path=require(_0x624a('0x6'));var rimraf=require(_0x624a('0x7'));var config=require(_0x624a('0x8'));var attributes=require(_0x624a('0x9'));module[_0x624a('0xa')]=function(_0x14fc3e,_0x325aea){return _0x14fc3e[_0x624a('0xb')](_0x624a('0xc'),attributes,{'tableName':_0x624a('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};