Built motion from commit (unavailable).|2.5.2
[motion2.git] / server / api / voiceAgentReport / voiceAgentReport.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 _0x8afb=['api','moment','request-promise','path','rimraf','./voiceAgentReport.attributes','define','VoiceAgentReport','report_agent','destuniqueid','util','../../config/logger'];(function(_0x1aad88,_0x551794){var _0x1bbfe9=function(_0x1636ed){while(--_0x1636ed){_0x1aad88['push'](_0x1aad88['shift']());}};_0x1bbfe9(++_0x551794);}(_0x8afb,0x172));var _0xb8af=function(_0x4ed546,_0x244bd0){_0x4ed546=_0x4ed546-0x0;var _0x10bfcc=_0x8afb[_0x4ed546];return _0x10bfcc;};'use strict';var _=require('lodash');var util=require(_0xb8af('0x0'));var logger=require(_0xb8af('0x1'))(_0xb8af('0x2'));var moment=require(_0xb8af('0x3'));var BPromise=require('bluebird');var rp=require(_0xb8af('0x4'));var fs=require('fs');var path=require(_0xb8af('0x5'));var rimraf=require(_0xb8af('0x6'));var config=require('../../config/environment');var attributes=require(_0xb8af('0x7'));module['exports']=function(_0x8850f2,_0x22789c){return _0x8850f2[_0xb8af('0x8')](_0xb8af('0x9'),attributes,{'tableName':_0xb8af('0xa'),'paranoid':![],'indexes':[{'fields':['uniqueid',_0xb8af('0xb')]}],'timestamps':!![]});};