Built motion from commit (unavailable).|2.5.25
[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 _0xc5c3=['event_dtm','event','dtm','lodash','util','../../config/logger','api','moment','bluebird','../../config/environment','./voiceQueuesLog.attributes','VoiceQueuesLog'];(function(_0x17cc31,_0x33c0a5){var _0x273211=function(_0x172076){while(--_0x172076){_0x17cc31['push'](_0x17cc31['shift']());}};_0x273211(++_0x33c0a5);}(_0xc5c3,0x13b));var _0x3c5c=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0xc5c3[_0x3dd15e];return _0x231fd0;};'use strict';var _=require(_0x3c5c('0x0'));var util=require(_0x3c5c('0x1'));var logger=require(_0x3c5c('0x2'))(_0x3c5c('0x3'));var moment=require(_0x3c5c('0x4'));var BPromise=require(_0x3c5c('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0x3c5c('0x6'));var attributes=require(_0x3c5c('0x7'));module['exports']=function(_0x46d137,_0x1a0739){return _0x46d137['define'](_0x3c5c('0x8'),attributes,{'tableName':'voice_queues_log','paranoid':![],'indexes':[{'name':_0x3c5c('0x9'),'fields':[_0x3c5c('0xa'),_0x3c5c('0xb')]}],'timestamps':![]});};