Built motion from commit (unavailable).|2.5.11
[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 _0x7700=['event_dtm','event','dtm','lodash','util','../../config/logger','moment','bluebird','path','../../config/environment','./voiceQueuesLog.attributes','exports','define','VoiceQueuesLog','voice_queues_log'];(function(_0x29b609,_0x19d388){var _0x54c952=function(_0xb3c38d){while(--_0xb3c38d){_0x29b609['push'](_0x29b609['shift']());}};_0x54c952(++_0x19d388);}(_0x7700,0xf3));var _0x0770=function(_0x3a023f,_0x3a0789){_0x3a023f=_0x3a023f-0x0;var _0x1de363=_0x7700[_0x3a023f];return _0x1de363;};'use strict';var _=require(_0x0770('0x0'));var util=require(_0x0770('0x1'));var logger=require(_0x0770('0x2'))('api');var moment=require(_0x0770('0x3'));var BPromise=require(_0x0770('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x0770('0x5'));var rimraf=require('rimraf');var config=require(_0x0770('0x6'));var attributes=require(_0x0770('0x7'));module[_0x0770('0x8')]=function(_0x44ff60,_0x476dd9){return _0x44ff60[_0x0770('0x9')](_0x0770('0xa'),attributes,{'tableName':_0x0770('0xb'),'paranoid':![],'indexes':[{'name':_0x0770('0xc'),'fields':[_0x0770('0xd'),_0x0770('0xe')]}],'timestamps':![]});};