b12d26b2bbfe09e7c6537feebc7b0593fb3a2e29
[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 _0xe06f=['../../config/environment','./teamVoiceQueue.attributes','define','TeamVoiceQueue','team_has_voice_queues','lodash','util','api','bluebird','request-promise','path','rimraf'];(function(_0x1a0600,_0x41feef){var _0x734670=function(_0x2da4e4){while(--_0x2da4e4){_0x1a0600['push'](_0x1a0600['shift']());}};_0x734670(++_0x41feef);}(_0xe06f,0x65));var _0xfe06=function(_0x48db1e,_0x4c6319){_0x48db1e=_0x48db1e-0x0;var _0x677122=_0xe06f[_0x48db1e];return _0x677122;};'use strict';var _=require(_0xfe06('0x0'));var util=require(_0xfe06('0x1'));var logger=require('../../config/logger')(_0xfe06('0x2'));var moment=require('moment');var BPromise=require(_0xfe06('0x3'));var rp=require(_0xfe06('0x4'));var fs=require('fs');var path=require(_0xfe06('0x5'));var rimraf=require(_0xfe06('0x6'));var config=require(_0xfe06('0x7'));var attributes=require(_0xfe06('0x8'));module['exports']=function(_0x4b4be6,_0x530973){return _0x4b4be6[_0xfe06('0x9')](_0xfe06('0xa'),attributes,{'tableName':_0xfe06('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};