b14581403135032142f2a7a7fd6c822317c469a8
[motion2.git] / server / api / voiceCallReport / voiceCallReport.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 _0x763e=['./voiceCallReport.attributes','define','report_call','uniqueid','lodash','moment','bluebird','request-promise','path','rimraf','../../config/environment'];(function(_0x2642cb,_0x4b917f){var _0xe6e41=function(_0x281676){while(--_0x281676){_0x2642cb['push'](_0x2642cb['shift']());}};_0xe6e41(++_0x4b917f);}(_0x763e,0x88));var _0xe763=function(_0x5cbaaa,_0xa8b0b5){_0x5cbaaa=_0x5cbaaa-0x0;var _0x5d847c=_0x763e[_0x5cbaaa];return _0x5d847c;};'use strict';var _=require(_0xe763('0x0'));var util=require('util');var logger=require('../../config/logger')('api');var moment=require(_0xe763('0x1'));var BPromise=require(_0xe763('0x2'));var rp=require(_0xe763('0x3'));var fs=require('fs');var path=require(_0xe763('0x4'));var rimraf=require(_0xe763('0x5'));var config=require(_0xe763('0x6'));var attributes=require(_0xe763('0x7'));module['exports']=function(_0x51bb9e,_0x30d96f){return _0x51bb9e[_0xe763('0x8')]('VoiceCallReport',attributes,{'tableName':_0xe763('0x9'),'paranoid':![],'indexes':[{'fields':[_0xe763('0xa')]}],'timestamps':!![]});};