101c2e6c71d378d3c868e2a0ebdbb46127a0c269
[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 _0xe0a8=['dtm','lodash','util','../../config/logger','api','moment','request-promise','path','rimraf','../../config/environment','exports','define','VoiceQueuesLog','voice_queues_log','event_dtm','event'];(function(_0x2caff5,_0x5baecd){var _0x7dd727=function(_0x18ef25){while(--_0x18ef25){_0x2caff5['push'](_0x2caff5['shift']());}};_0x7dd727(++_0x5baecd);}(_0xe0a8,0xb1));var _0x8e0a=function(_0x19950b,_0x53d0d7){_0x19950b=_0x19950b-0x0;var _0x3c6b41=_0xe0a8[_0x19950b];return _0x3c6b41;};'use strict';var _=require(_0x8e0a('0x0'));var util=require(_0x8e0a('0x1'));var logger=require(_0x8e0a('0x2'))(_0x8e0a('0x3'));var moment=require(_0x8e0a('0x4'));var BPromise=require('bluebird');var rp=require(_0x8e0a('0x5'));var fs=require('fs');var path=require(_0x8e0a('0x6'));var rimraf=require(_0x8e0a('0x7'));var config=require(_0x8e0a('0x8'));var attributes=require('./voiceQueuesLog.attributes');module[_0x8e0a('0x9')]=function(_0x57b297,_0x15868b){return _0x57b297[_0x8e0a('0xa')](_0x8e0a('0xb'),attributes,{'tableName':_0x8e0a('0xc'),'paranoid':![],'indexes':[{'name':_0x8e0a('0xd'),'fields':[_0x8e0a('0xe'),_0x8e0a('0xf')]}],'timestamps':![]});};