Built motion from commit 25580385.|2.6.2
[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 _0xda46=['request-promise','path','rimraf','../../config/environment','./voiceQueuesLog.attributes','define','VoiceQueuesLog','event_dtm','event','dtm','util','../../config/logger','api','moment','bluebird'];(function(_0xc8db29,_0x268fa5){var _0x48d2c1=function(_0x5be83b){while(--_0x5be83b){_0xc8db29['push'](_0xc8db29['shift']());}};_0x48d2c1(++_0x268fa5);}(_0xda46,0x118));var _0x6da4=function(_0x9f374c,_0x396804){_0x9f374c=_0x9f374c-0x0;var _0x53cfbb=_0xda46[_0x9f374c];return _0x53cfbb;};'use strict';var _=require('lodash');var util=require(_0x6da4('0x0'));var logger=require(_0x6da4('0x1'))(_0x6da4('0x2'));var moment=require(_0x6da4('0x3'));var BPromise=require(_0x6da4('0x4'));var rp=require(_0x6da4('0x5'));var fs=require('fs');var path=require(_0x6da4('0x6'));var rimraf=require(_0x6da4('0x7'));var config=require(_0x6da4('0x8'));var attributes=require(_0x6da4('0x9'));module['exports']=function(_0x4f6be3,_0x4a961b){return _0x4f6be3[_0x6da4('0xa')](_0x6da4('0xb'),attributes,{'tableName':'voice_queues_log','paranoid':![],'indexes':[{'name':_0x6da4('0xc'),'fields':[_0x6da4('0xd'),_0x6da4('0xe')]}],'timestamps':![]});};