Built motion from commit b5996064.|2.6.21
[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 _0xc628=['VoiceQueuesLog','voice_queues_log','event_dtm','dtm','lodash','util','../../config/logger','moment','bluebird','request-promise','path','rimraf','../../config/environment','./voiceQueuesLog.attributes','exports'];(function(_0x3138d5,_0x659be7){var _0x194ba5=function(_0x38d075){while(--_0x38d075){_0x3138d5['push'](_0x3138d5['shift']());}};_0x194ba5(++_0x659be7);}(_0xc628,0x6d));var _0x8c62=function(_0x3f69e3,_0x191d58){_0x3f69e3=_0x3f69e3-0x0;var _0x1388f0=_0xc628[_0x3f69e3];return _0x1388f0;};'use strict';var _=require(_0x8c62('0x0'));var util=require(_0x8c62('0x1'));var logger=require(_0x8c62('0x2'))('api');var moment=require(_0x8c62('0x3'));var BPromise=require(_0x8c62('0x4'));var rp=require(_0x8c62('0x5'));var fs=require('fs');var path=require(_0x8c62('0x6'));var rimraf=require(_0x8c62('0x7'));var config=require(_0x8c62('0x8'));var attributes=require(_0x8c62('0x9'));module[_0x8c62('0xa')]=function(_0x4cdc3b,_0x375825){return _0x4cdc3b['define'](_0x8c62('0xb'),attributes,{'tableName':_0x8c62('0xc'),'paranoid':![],'indexes':[{'name':_0x8c62('0xd'),'fields':['event',_0x8c62('0xe')]}],'timestamps':![]});};