1c41d2fe548aa9dac908fc992fb8c0f0cf800a41
[motion2.git] / server / api / voiceQueue / voiceQueue.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 _0xbf9e=['util','../../config/logger','api','moment','bluebird','request-promise','path','../../config/environment','./voiceQueue.attributes','exports','define','VoiceQueue','voice_queues'];(function(_0xc77819,_0x139fdc){var _0x1c9434=function(_0x11d15d){while(--_0x11d15d){_0xc77819['push'](_0xc77819['shift']());}};_0x1c9434(++_0x139fdc);}(_0xbf9e,0x152));var _0xebf9=function(_0x12a24f,_0x819b79){_0x12a24f=_0x12a24f-0x0;var _0x526080=_0xbf9e[_0x12a24f];return _0x526080;};'use strict';var _=require('lodash');var util=require(_0xebf9('0x0'));var logger=require(_0xebf9('0x1'))(_0xebf9('0x2'));var moment=require(_0xebf9('0x3'));var BPromise=require(_0xebf9('0x4'));var rp=require(_0xebf9('0x5'));var fs=require('fs');var path=require(_0xebf9('0x6'));var rimraf=require('rimraf');var config=require(_0xebf9('0x7'));var attributes=require(_0xebf9('0x8'));module[_0xebf9('0x9')]=function(_0x19081e,_0x4d9a67){return _0x19081e[_0xebf9('0xa')](_0xebf9('0xb'),attributes,{'tableName':_0xebf9('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};