7e2843a895403cf7fd639fcd888a2755cb82b90d
[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 _0xc601=['event','dtm','util','../../config/logger','api','bluebird','request-promise','path','rimraf','../../config/environment','exports','define','VoiceQueuesLog','event_dtm'];(function(_0x5bc8a6,_0x56d59d){var _0x29373b=function(_0x28531f){while(--_0x28531f){_0x5bc8a6['push'](_0x5bc8a6['shift']());}};_0x29373b(++_0x56d59d);}(_0xc601,0x18a));var _0x1c60=function(_0x25ee3a,_0x29c2f8){_0x25ee3a=_0x25ee3a-0x0;var _0x3fb7d6=_0xc601[_0x25ee3a];return _0x3fb7d6;};'use strict';var _=require('lodash');var util=require(_0x1c60('0x0'));var logger=require(_0x1c60('0x1'))(_0x1c60('0x2'));var moment=require('moment');var BPromise=require(_0x1c60('0x3'));var rp=require(_0x1c60('0x4'));var fs=require('fs');var path=require(_0x1c60('0x5'));var rimraf=require(_0x1c60('0x6'));var config=require(_0x1c60('0x7'));var attributes=require('./voiceQueuesLog.attributes');module[_0x1c60('0x8')]=function(_0x1d5faf,_0x32f70a){return _0x1d5faf[_0x1c60('0x9')](_0x1c60('0xa'),attributes,{'tableName':'voice_queues_log','paranoid':![],'indexes':[{'name':_0x1c60('0xb'),'fields':[_0x1c60('0xc'),_0x1c60('0xd')]}],'timestamps':![]});};