Built motion from commit b7e79837.|2.6.29
[motion2.git] / server / api / voiceQueuesLog / voiceQueuesLog.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 _0x3cec=['define','VoiceQueuesLog','voice_queues_log','event_dtm','event','dtm','lodash','util','../../config/logger','api','moment','bluebird','path','rimraf','../../config/environment','./voiceQueuesLog.attributes','exports'];(function(_0x1c0fa0,_0x43e1e7){var _0x47525f=function(_0x2a2f5a){while(--_0x2a2f5a){_0x1c0fa0['push'](_0x1c0fa0['shift']());}};_0x47525f(++_0x43e1e7);}(_0x3cec,0xb0));var _0xc3ce=function(_0x4d6e0c,_0x34b2fa){_0x4d6e0c=_0x4d6e0c-0x0;var _0x1cdaa1=_0x3cec[_0x4d6e0c];return _0x1cdaa1;};'use strict';var _=require(_0xc3ce('0x0'));var util=require(_0xc3ce('0x1'));var logger=require(_0xc3ce('0x2'))(_0xc3ce('0x3'));var moment=require(_0xc3ce('0x4'));var BPromise=require(_0xc3ce('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xc3ce('0x6'));var rimraf=require(_0xc3ce('0x7'));var config=require(_0xc3ce('0x8'));var attributes=require(_0xc3ce('0x9'));module[_0xc3ce('0xa')]=function(_0x1daa55,_0x464046){return _0x1daa55[_0xc3ce('0xb')](_0xc3ce('0xc'),attributes,{'tableName':_0xc3ce('0xd'),'paranoid':![],'indexes':[{'name':_0xc3ce('0xe'),'fields':[_0xc3ce('0xf'),_0xc3ce('0x10')]}],'timestamps':![]});};