cf71e0304302c6ddddc0c31994b173a17d7e5eae
[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 _0x0d4d=['path','../../config/environment','./voiceAgentReport.attributes','define','report_agent','destuniqueid','lodash','util','../../config/logger','api','moment','bluebird'];(function(_0x14add3,_0x13ce8d){var _0x4a174f=function(_0x2b3ed7){while(--_0x2b3ed7){_0x14add3['push'](_0x14add3['shift']());}};_0x4a174f(++_0x13ce8d);}(_0x0d4d,0x132));var _0xd0d4=function(_0x32fc7f,_0x3b0334){_0x32fc7f=_0x32fc7f-0x0;var _0x55ef89=_0x0d4d[_0x32fc7f];return _0x55ef89;};'use strict';var _=require(_0xd0d4('0x0'));var util=require(_0xd0d4('0x1'));var logger=require(_0xd0d4('0x2'))(_0xd0d4('0x3'));var moment=require(_0xd0d4('0x4'));var BPromise=require(_0xd0d4('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xd0d4('0x6'));var rimraf=require('rimraf');var config=require(_0xd0d4('0x7'));var attributes=require(_0xd0d4('0x8'));module['exports']=function(_0x34d93b,_0x3db5ab){return _0x34d93b[_0xd0d4('0x9')]('VoiceAgentReport',attributes,{'tableName':_0xd0d4('0xa'),'paranoid':![],'indexes':[{'fields':['uniqueid',_0xd0d4('0xb')]}],'timestamps':!![]});};