Built motion from commit 5b761a7b.|2.5.36
[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 _0xc23a=['util','../../config/logger','api','bluebird','rimraf','./voiceAgentReport.attributes','exports','VoiceAgentReport','report_agent','uniqueid'];(function(_0xc7fd66,_0x8a6753){var _0x1f6100=function(_0x18ff4e){while(--_0x18ff4e){_0xc7fd66['push'](_0xc7fd66['shift']());}};_0x1f6100(++_0x8a6753);}(_0xc23a,0xd2));var _0xac23=function(_0x1f7413,_0x3388c3){_0x1f7413=_0x1f7413-0x0;var _0x2d2775=_0xc23a[_0x1f7413];return _0x2d2775;};'use strict';var _=require('lodash');var util=require(_0xac23('0x0'));var logger=require(_0xac23('0x1'))(_0xac23('0x2'));var moment=require('moment');var BPromise=require(_0xac23('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0xac23('0x4'));var config=require('../../config/environment');var attributes=require(_0xac23('0x5'));module[_0xac23('0x6')]=function(_0xc71a6d,_0x4c1482){return _0xc71a6d['define'](_0xac23('0x7'),attributes,{'tableName':_0xac23('0x8'),'paranoid':![],'indexes':[{'fields':[_0xac23('0x9'),'destuniqueid']}],'timestamps':!![]});};