b4f0f4213f8e876be45c184b4aae0ba7057ad600
[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 _0x9009=['path','rimraf','./teamVoiceQueue.attributes','exports','define','TeamVoiceQueue','lodash','../../config/logger','api','bluebird','request-promise'];(function(_0x43c206,_0x2178af){var _0x2a0ac4=function(_0x342c54){while(--_0x342c54){_0x43c206['push'](_0x43c206['shift']());}};_0x2a0ac4(++_0x2178af);}(_0x9009,0x1d4));var _0x9900=function(_0x32ca16,_0x9d3f81){_0x32ca16=_0x32ca16-0x0;var _0x523aaa=_0x9009[_0x32ca16];return _0x523aaa;};'use strict';var _=require(_0x9900('0x0'));var util=require('util');var logger=require(_0x9900('0x1'))(_0x9900('0x2'));var moment=require('moment');var BPromise=require(_0x9900('0x3'));var rp=require(_0x9900('0x4'));var fs=require('fs');var path=require(_0x9900('0x5'));var rimraf=require(_0x9900('0x6'));var config=require('../../config/environment');var attributes=require(_0x9900('0x7'));module[_0x9900('0x8')]=function(_0x502dac,_0x59dd25){return _0x502dac[_0x9900('0x9')](_0x9900('0xa'),attributes,{'tableName':'team_has_voice_queues','paranoid':![],'indexes':[],'timestamps':!![]});};