Built motion from commit (unavailable).|2.5.27
[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 _0x614b=['path','rimraf','exports','voice_queues','lodash','util','bluebird','request-promise'];(function(_0x511b76,_0x4727fa){var _0x5424ff=function(_0x24b7c0){while(--_0x24b7c0){_0x511b76['push'](_0x511b76['shift']());}};_0x5424ff(++_0x4727fa);}(_0x614b,0x17c));var _0xb614=function(_0x512f8c,_0x3545c1){_0x512f8c=_0x512f8c-0x0;var _0x2099f8=_0x614b[_0x512f8c];return _0x2099f8;};'use strict';var _=require(_0xb614('0x0'));var util=require(_0xb614('0x1'));var logger=require('../../config/logger')('api');var moment=require('moment');var BPromise=require(_0xb614('0x2'));var rp=require(_0xb614('0x3'));var fs=require('fs');var path=require(_0xb614('0x4'));var rimraf=require(_0xb614('0x5'));var config=require('../../config/environment');var attributes=require('./voiceQueue.attributes');module[_0xb614('0x6')]=function(_0xcc6ec9,_0x463a93){return _0xcc6ec9['define']('VoiceQueue',attributes,{'tableName':_0xb614('0x7'),'paranoid':![],'indexes':[],'timestamps':!![]});};