1e2e41c7fdfc006d7b04a3e26723f041dee1c95e
[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 _0x8e19=['api','moment','bluebird','path','rimraf','../../config/environment','./voiceQueuesLog.attributes','exports','define','VoiceQueuesLog','event','dtm','lodash','util','../../config/logger'];(function(_0x2199f1,_0x10c734){var _0x43436b=function(_0x524bf8){while(--_0x524bf8){_0x2199f1['push'](_0x2199f1['shift']());}};_0x43436b(++_0x10c734);}(_0x8e19,0xfc));var _0x98e1=function(_0x45620c,_0x136b3f){_0x45620c=_0x45620c-0x0;var _0x5e15b3=_0x8e19[_0x45620c];return _0x5e15b3;};'use strict';var _=require(_0x98e1('0x0'));var util=require(_0x98e1('0x1'));var logger=require(_0x98e1('0x2'))(_0x98e1('0x3'));var moment=require(_0x98e1('0x4'));var BPromise=require(_0x98e1('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x98e1('0x6'));var rimraf=require(_0x98e1('0x7'));var config=require(_0x98e1('0x8'));var attributes=require(_0x98e1('0x9'));module[_0x98e1('0xa')]=function(_0x126813,_0x1d466b){return _0x126813[_0x98e1('0xb')](_0x98e1('0xc'),attributes,{'tableName':'voice_queues_log','paranoid':![],'indexes':[{'name':'event_dtm','fields':[_0x98e1('0xd'),_0x98e1('0xe')]}],'timestamps':![]});};