Built motion from commit (unavailable).|2.5.4
[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 _0x554e=['request-promise','path','rimraf','../../config/environment','define','VoiceQueuesLog','voice_queues_log','event','dtm','lodash','../../config/logger','api','moment','bluebird'];(function(_0x15379e,_0x35a39d){var _0x2f7561=function(_0x2a959b){while(--_0x2a959b){_0x15379e['push'](_0x15379e['shift']());}};_0x2f7561(++_0x35a39d);}(_0x554e,0xb1));var _0xe554=function(_0xd43e1d,_0x26a204){_0xd43e1d=_0xd43e1d-0x0;var _0x5c7332=_0x554e[_0xd43e1d];return _0x5c7332;};'use strict';var _=require(_0xe554('0x0'));var util=require('util');var logger=require(_0xe554('0x1'))(_0xe554('0x2'));var moment=require(_0xe554('0x3'));var BPromise=require(_0xe554('0x4'));var rp=require(_0xe554('0x5'));var fs=require('fs');var path=require(_0xe554('0x6'));var rimraf=require(_0xe554('0x7'));var config=require(_0xe554('0x8'));var attributes=require('./voiceQueuesLog.attributes');module['exports']=function(_0xf464c5,_0x5348b5){return _0xf464c5[_0xe554('0x9')](_0xe554('0xa'),attributes,{'tableName':_0xe554('0xb'),'paranoid':![],'indexes':[{'name':'event_dtm','fields':[_0xe554('0xc'),_0xe554('0xd')]}],'timestamps':![]});};