Built motion from commit (unavailable).|2.5.16
[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 _0xbf89=['rimraf','./voiceQueue.attributes','exports','define','voice_queues','util','moment','request-promise','path'];(function(_0xc7d97a,_0xd6646){var _0x3426f7=function(_0x1dd910){while(--_0x1dd910){_0xc7d97a['push'](_0xc7d97a['shift']());}};_0x3426f7(++_0xd6646);}(_0xbf89,0xf8));var _0x9bf8=function(_0x1fe7bf,_0x24493f){_0x1fe7bf=_0x1fe7bf-0x0;var _0x340e1f=_0xbf89[_0x1fe7bf];return _0x340e1f;};'use strict';var _=require('lodash');var util=require(_0x9bf8('0x0'));var logger=require('../../config/logger')('api');var moment=require(_0x9bf8('0x1'));var BPromise=require('bluebird');var rp=require(_0x9bf8('0x2'));var fs=require('fs');var path=require(_0x9bf8('0x3'));var rimraf=require(_0x9bf8('0x4'));var config=require('../../config/environment');var attributes=require(_0x9bf8('0x5'));module[_0x9bf8('0x6')]=function(_0x26d67c,_0xd786d9){return _0x26d67c[_0x9bf8('0x7')]('VoiceQueue',attributes,{'tableName':_0x9bf8('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};