Built motion from commit (unavailable).|2.5.30
[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 _0x3f3c=['exports','define','VoiceCallReport','report_call','uniqueid','lodash','util','../../config/logger','api','moment','bluebird','path','rimraf','../../config/environment','./voiceCallReport.attributes'];(function(_0x4cf380,_0x1fe075){var _0x3a5948=function(_0x48b31d){while(--_0x48b31d){_0x4cf380['push'](_0x4cf380['shift']());}};_0x3a5948(++_0x1fe075);}(_0x3f3c,0x18b));var _0xc3f3=function(_0x356a43,_0x591b4f){_0x356a43=_0x356a43-0x0;var _0x5243d9=_0x3f3c[_0x356a43];return _0x5243d9;};'use strict';var _=require(_0xc3f3('0x0'));var util=require(_0xc3f3('0x1'));var logger=require(_0xc3f3('0x2'))(_0xc3f3('0x3'));var moment=require(_0xc3f3('0x4'));var BPromise=require(_0xc3f3('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xc3f3('0x6'));var rimraf=require(_0xc3f3('0x7'));var config=require(_0xc3f3('0x8'));var attributes=require(_0xc3f3('0x9'));module[_0xc3f3('0xa')]=function(_0x583404,_0x3775d8){return _0x583404[_0xc3f3('0xb')](_0xc3f3('0xc'),attributes,{'tableName':_0xc3f3('0xd'),'paranoid':![],'indexes':[{'fields':[_0xc3f3('0xe')]}],'timestamps':!![]});};