70e1551601e151855f60c8f69355c3a5ecef13de
[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 _0x0fbe=['VoiceAgentReport','report_agent','uniqueid','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','./voiceAgentReport.attributes','exports','define'];(function(_0x4f5b79,_0x4a3831){var _0xca982c=function(_0x470e7d){while(--_0x470e7d){_0x4f5b79['push'](_0x4f5b79['shift']());}};_0xca982c(++_0x4a3831);}(_0x0fbe,0x8a));var _0xe0fb=function(_0x34e752,_0x32e2a2){_0x34e752=_0x34e752-0x0;var _0x7c6347=_0x0fbe[_0x34e752];return _0x7c6347;};'use strict';var _=require(_0xe0fb('0x0'));var util=require(_0xe0fb('0x1'));var logger=require(_0xe0fb('0x2'))(_0xe0fb('0x3'));var moment=require(_0xe0fb('0x4'));var BPromise=require(_0xe0fb('0x5'));var rp=require(_0xe0fb('0x6'));var fs=require('fs');var path=require(_0xe0fb('0x7'));var rimraf=require(_0xe0fb('0x8'));var config=require('../../config/environment');var attributes=require(_0xe0fb('0x9'));module[_0xe0fb('0xa')]=function(_0x71ecc4,_0x1348e3){return _0x71ecc4[_0xe0fb('0xb')](_0xe0fb('0xc'),attributes,{'tableName':_0xe0fb('0xd'),'paranoid':![],'indexes':[{'fields':[_0xe0fb('0xe'),'destuniqueid']}],'timestamps':!![]});};