aaed4d5fcde8b4490c717164d5e429c8587eb5d8
[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 _0x865d=['path','../../config/environment','./voiceQueuesLog.attributes','exports','VoiceQueuesLog','voice_queues_log','event_dtm','event','dtm','lodash','util','../../config/logger','api','moment','bluebird','request-promise'];(function(_0x9be28f,_0x231334){var _0xa9f52d=function(_0x239dad){while(--_0x239dad){_0x9be28f['push'](_0x9be28f['shift']());}};_0xa9f52d(++_0x231334);}(_0x865d,0x1d9));var _0xd865=function(_0x422905,_0x3bce3a){_0x422905=_0x422905-0x0;var _0x33dc6c=_0x865d[_0x422905];return _0x33dc6c;};'use strict';var _=require(_0xd865('0x0'));var util=require(_0xd865('0x1'));var logger=require(_0xd865('0x2'))(_0xd865('0x3'));var moment=require(_0xd865('0x4'));var BPromise=require(_0xd865('0x5'));var rp=require(_0xd865('0x6'));var fs=require('fs');var path=require(_0xd865('0x7'));var rimraf=require('rimraf');var config=require(_0xd865('0x8'));var attributes=require(_0xd865('0x9'));module[_0xd865('0xa')]=function(_0x5f166b,_0x490365){return _0x5f166b['define'](_0xd865('0xb'),attributes,{'tableName':_0xd865('0xc'),'paranoid':![],'indexes':[{'name':_0xd865('0xd'),'fields':[_0xd865('0xe'),_0xd865('0xf')]}],'timestamps':![]});};