Built motion from commit (unavailable).|2.5.20
[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 _0x372e=['exports','define','VoiceQueuesLog','voice_queues_log','event','dtm','lodash','util','../../config/logger','bluebird','path','./voiceQueuesLog.attributes'];(function(_0x12acaa,_0x5ed722){var _0xe2b239=function(_0x3cc144){while(--_0x3cc144){_0x12acaa['push'](_0x12acaa['shift']());}};_0xe2b239(++_0x5ed722);}(_0x372e,0x1e6));var _0xe372=function(_0x4eb845,_0x48d1a3){_0x4eb845=_0x4eb845-0x0;var _0x534eb0=_0x372e[_0x4eb845];return _0x534eb0;};'use strict';var _=require(_0xe372('0x0'));var util=require(_0xe372('0x1'));var logger=require(_0xe372('0x2'))('api');var moment=require('moment');var BPromise=require(_0xe372('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xe372('0x4'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0xe372('0x5'));module[_0xe372('0x6')]=function(_0x5eb6a3,_0x3d15b5){return _0x5eb6a3[_0xe372('0x7')](_0xe372('0x8'),attributes,{'tableName':_0xe372('0x9'),'paranoid':![],'indexes':[{'name':'event_dtm','fields':[_0xe372('0xa'),_0xe372('0xb')]}],'timestamps':![]});};