Built motion from commit 2e4747fd.|2.6.7
[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 _0xd609=['voice_queues_log','event_dtm','dtm','../../config/logger','bluebird','request-promise','path','rimraf','../../config/environment','exports','define'];(function(_0x28b9dd,_0x2f2c7e){var _0x3c56ee=function(_0x13b03e){while(--_0x13b03e){_0x28b9dd['push'](_0x28b9dd['shift']());}};_0x3c56ee(++_0x2f2c7e);}(_0xd609,0x10b));var _0x9d60=function(_0x356820,_0x462030){_0x356820=_0x356820-0x0;var _0x5607a8=_0xd609[_0x356820];return _0x5607a8;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0x9d60('0x0'))('api');var moment=require('moment');var BPromise=require(_0x9d60('0x1'));var rp=require(_0x9d60('0x2'));var fs=require('fs');var path=require(_0x9d60('0x3'));var rimraf=require(_0x9d60('0x4'));var config=require(_0x9d60('0x5'));var attributes=require('./voiceQueuesLog.attributes');module[_0x9d60('0x6')]=function(_0x43cabe,_0x43e863){return _0x43cabe[_0x9d60('0x7')]('VoiceQueuesLog',attributes,{'tableName':_0x9d60('0x8'),'paranoid':![],'indexes':[{'name':_0x9d60('0x9'),'fields':['event',_0x9d60('0xa')]}],'timestamps':![]});};