Built motion from commit (unavailable).|2.5.10
[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 _0xaffe=['rimraf','define','voice_queues','lodash','util','../../config/logger','api','moment','bluebird','request-promise'];(function(_0x482249,_0x36213b){var _0x5c4709=function(_0x1fa804){while(--_0x1fa804){_0x482249['push'](_0x482249['shift']());}};_0x5c4709(++_0x36213b);}(_0xaffe,0x157));var _0xeaff=function(_0x5940e5,_0x3b3ceb){_0x5940e5=_0x5940e5-0x0;var _0x2a1827=_0xaffe[_0x5940e5];return _0x2a1827;};'use strict';var _=require(_0xeaff('0x0'));var util=require(_0xeaff('0x1'));var logger=require(_0xeaff('0x2'))(_0xeaff('0x3'));var moment=require(_0xeaff('0x4'));var BPromise=require(_0xeaff('0x5'));var rp=require(_0xeaff('0x6'));var fs=require('fs');var path=require('path');var rimraf=require(_0xeaff('0x7'));var config=require('../../config/environment');var attributes=require('./voiceQueue.attributes');module['exports']=function(_0x2f760c,_0x581260){return _0x2f760c[_0xeaff('0x8')]('VoiceQueue',attributes,{'tableName':_0xeaff('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};