Built motion from commit 4c281f94.|2.6.31
[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 _0x1ee7=['../../config/logger','request-promise','path','rimraf','./voiceCallReport.attributes','exports','lodash','util'];(function(_0x12c289,_0x3376b8){var _0x9e28d5=function(_0x33cb58){while(--_0x33cb58){_0x12c289['push'](_0x12c289['shift']());}};_0x9e28d5(++_0x3376b8);}(_0x1ee7,0xce));var _0x71ee=function(_0x2fd675,_0xb2f5a9){_0x2fd675=_0x2fd675-0x0;var _0x4d6fdb=_0x1ee7[_0x2fd675];return _0x4d6fdb;};'use strict';var _=require(_0x71ee('0x0'));var util=require(_0x71ee('0x1'));var logger=require(_0x71ee('0x2'))('api');var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0x71ee('0x3'));var fs=require('fs');var path=require(_0x71ee('0x4'));var rimraf=require(_0x71ee('0x5'));var config=require('../../config/environment');var attributes=require(_0x71ee('0x6'));module[_0x71ee('0x7')]=function(_0x39e402,_0x5d7d53){return _0x39e402['define']('VoiceCallReport',attributes,{'tableName':'report_call','paranoid':![],'indexes':[{'fields':['uniqueid']}],'timestamps':!![]});};