Built motion from commit 9e1ec266.|2.6.28
[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 _0xd73a=['rimraf','../../config/environment','./voiceQueuesLog.attributes','exports','define','VoiceQueuesLog','voice_queues_log','event_dtm','dtm','lodash','util','../../config/logger','api','moment','path'];(function(_0x275630,_0x153371){var _0x4ca89c=function(_0x3c0b87){while(--_0x3c0b87){_0x275630['push'](_0x275630['shift']());}};_0x4ca89c(++_0x153371);}(_0xd73a,0x171));var _0xad73=function(_0x442212,_0x2c70ae){_0x442212=_0x442212-0x0;var _0xff6993=_0xd73a[_0x442212];return _0xff6993;};'use strict';var _=require(_0xad73('0x0'));var util=require(_0xad73('0x1'));var logger=require(_0xad73('0x2'))(_0xad73('0x3'));var moment=require(_0xad73('0x4'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0xad73('0x5'));var rimraf=require(_0xad73('0x6'));var config=require(_0xad73('0x7'));var attributes=require(_0xad73('0x8'));module[_0xad73('0x9')]=function(_0x7d2258,_0x247d3c){return _0x7d2258[_0xad73('0xa')](_0xad73('0xb'),attributes,{'tableName':_0xad73('0xc'),'paranoid':![],'indexes':[{'name':_0xad73('0xd'),'fields':['event',_0xad73('0xe')]}],'timestamps':![]});};