Built motion from commit 753c950e.|2.5.42
[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 _0x95ef=['util','../../config/logger','api','moment','../../config/environment','./voiceQueuesLog.attributes','exports','define','voice_queues_log','event_dtm','event','dtm'];(function(_0x2b9847,_0x5b5294){var _0x4e393f=function(_0x5f0d4c){while(--_0x5f0d4c){_0x2b9847['push'](_0x2b9847['shift']());}};_0x4e393f(++_0x5b5294);}(_0x95ef,0xb4));var _0xf95e=function(_0x2f53c2,_0x21e4df){_0x2f53c2=_0x2f53c2-0x0;var _0x1a3867=_0x95ef[_0x2f53c2];return _0x1a3867;};'use strict';var _=require('lodash');var util=require(_0xf95e('0x0'));var logger=require(_0xf95e('0x1'))(_0xf95e('0x2'));var moment=require(_0xf95e('0x3'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0xf95e('0x4'));var attributes=require(_0xf95e('0x5'));module[_0xf95e('0x6')]=function(_0x56081f,_0x133d18){return _0x56081f[_0xf95e('0x7')]('VoiceQueuesLog',attributes,{'tableName':_0xf95e('0x8'),'paranoid':![],'indexes':[{'name':_0xf95e('0x9'),'fields':[_0xf95e('0xa'),_0xf95e('0xb')]}],'timestamps':![]});};