Built motion from commit (unavailable).|2.5.21
[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 _0x82d0=['../../config/environment','./voiceQueue.attributes','exports','define','VoiceQueue','voice_queues','lodash','util','../../config/logger','rimraf'];(function(_0x5196e8,_0x271c05){var _0x43603f=function(_0x4f136b){while(--_0x4f136b){_0x5196e8['push'](_0x5196e8['shift']());}};_0x43603f(++_0x271c05);}(_0x82d0,0xd8));var _0x082d=function(_0x2014e7,_0x2bd284){_0x2014e7=_0x2014e7-0x0;var _0x29452d=_0x82d0[_0x2014e7];return _0x29452d;};'use strict';var _=require(_0x082d('0x0'));var util=require(_0x082d('0x1'));var logger=require(_0x082d('0x2'))('api');var moment=require('moment');var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0x082d('0x3'));var config=require(_0x082d('0x4'));var attributes=require(_0x082d('0x5'));module[_0x082d('0x6')]=function(_0x179eee,_0x5c3bc2){return _0x179eee[_0x082d('0x7')](_0x082d('0x8'),attributes,{'tableName':_0x082d('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};