Built motion from commit (unavailable).|2.5.31
[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 _0x9302=['util','api','bluebird','request-promise','rimraf','../../config/environment','./voiceQueue.attributes','exports','define','VoiceQueue','voice_queues'];(function(_0x36358f,_0x41bf85){var _0x5ce44e=function(_0x193322){while(--_0x193322){_0x36358f['push'](_0x36358f['shift']());}};_0x5ce44e(++_0x41bf85);}(_0x9302,0xdc));var _0x2930=function(_0x7390d4,_0x398159){_0x7390d4=_0x7390d4-0x0;var _0x1554a9=_0x9302[_0x7390d4];return _0x1554a9;};'use strict';var _=require('lodash');var util=require(_0x2930('0x0'));var logger=require('../../config/logger')(_0x2930('0x1'));var moment=require('moment');var BPromise=require(_0x2930('0x2'));var rp=require(_0x2930('0x3'));var fs=require('fs');var path=require('path');var rimraf=require(_0x2930('0x4'));var config=require(_0x2930('0x5'));var attributes=require(_0x2930('0x6'));module[_0x2930('0x7')]=function(_0x54cf71,_0xfc6d9e){return _0x54cf71[_0x2930('0x8')](_0x2930('0x9'),attributes,{'tableName':_0x2930('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};