Built motion from commit 14588770.|2.5.38
[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 _0x867e=['exports','define','VoiceCallReport','report_call','uniqueid','lodash','util','../../config/logger','api','moment','bluebird','../../config/environment','./voiceCallReport.attributes'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x867e,0x6d));var _0xe867=function(_0x3ec325,_0x111632){_0x3ec325=_0x3ec325-0x0;var _0x11c2b6=_0x867e[_0x3ec325];return _0x11c2b6;};'use strict';var _=require(_0xe867('0x0'));var util=require(_0xe867('0x1'));var logger=require(_0xe867('0x2'))(_0xe867('0x3'));var moment=require(_0xe867('0x4'));var BPromise=require(_0xe867('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0xe867('0x6'));var attributes=require(_0xe867('0x7'));module[_0xe867('0x8')]=function(_0x25a539,_0x46cec3){return _0x25a539[_0xe867('0x9')](_0xe867('0xa'),attributes,{'tableName':_0xe867('0xb'),'paranoid':![],'indexes':[{'fields':[_0xe867('0xc')]}],'timestamps':!![]});};