96ed1dabd8ed2b636dba076f184cc1266005a03c
[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 _0x605e=['lodash','util','api','moment','rimraf','../../config/environment','./voiceQueuesLog.attributes','voice_queues_log','event_dtm','event','dtm'];(function(_0x422905,_0x3bce3a){var _0x33dc6c=function(_0x4852c9){while(--_0x4852c9){_0x422905['push'](_0x422905['shift']());}};_0x33dc6c(++_0x3bce3a);}(_0x605e,0x1b8));var _0xe605=function(_0x50e08b,_0x571779){_0x50e08b=_0x50e08b-0x0;var _0x8fd085=_0x605e[_0x50e08b];return _0x8fd085;};'use strict';var _=require(_0xe605('0x0'));var util=require(_0xe605('0x1'));var logger=require('../../config/logger')(_0xe605('0x2'));var moment=require(_0xe605('0x3'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0xe605('0x4'));var config=require(_0xe605('0x5'));var attributes=require(_0xe605('0x6'));module['exports']=function(_0x2f04fa,_0xf67d37){return _0x2f04fa['define']('VoiceQueuesLog',attributes,{'tableName':_0xe605('0x7'),'paranoid':![],'indexes':[{'name':_0xe605('0x8'),'fields':[_0xe605('0x9'),_0xe605('0xa')]}],'timestamps':![]});};