Built motion from commit (unavailable).|2.5.14
[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 _0xd14a=['event','dtm','lodash','util','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./voiceQueuesLog.attributes','exports','define','VoiceQueuesLog','voice_queues_log'];(function(_0x580b50,_0x1df4ed){var _0x2e438c=function(_0x462764){while(--_0x462764){_0x580b50['push'](_0x580b50['shift']());}};_0x2e438c(++_0x1df4ed);}(_0xd14a,0x1e2));var _0xad14=function(_0x3eedf6,_0x17bee7){_0x3eedf6=_0x3eedf6-0x0;var _0x347c9c=_0xd14a[_0x3eedf6];return _0x347c9c;};'use strict';var _=require(_0xad14('0x0'));var util=require(_0xad14('0x1'));var logger=require('../../config/logger')(_0xad14('0x2'));var moment=require(_0xad14('0x3'));var BPromise=require(_0xad14('0x4'));var rp=require(_0xad14('0x5'));var fs=require('fs');var path=require(_0xad14('0x6'));var rimraf=require(_0xad14('0x7'));var config=require(_0xad14('0x8'));var attributes=require(_0xad14('0x9'));module[_0xad14('0xa')]=function(_0x537423,_0x328e7c){return _0x537423[_0xad14('0xb')](_0xad14('0xc'),attributes,{'tableName':_0xad14('0xd'),'paranoid':![],'indexes':[{'name':'event_dtm','fields':[_0xad14('0xe'),_0xad14('0xf')]}],'timestamps':![]});};