Built motion from commit 4ffc18b1.|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 _0x6719=['../../config/environment','./voiceCallReport.attributes','exports','define','report_call','uniqueid','lodash','util','../../config/logger','api','request-promise','rimraf'];(function(_0x334116,_0x16c244){var _0x1cf6a9=function(_0x2dabcd){while(--_0x2dabcd){_0x334116['push'](_0x334116['shift']());}};_0x1cf6a9(++_0x16c244);}(_0x6719,0xf6));var _0x9671=function(_0x4e7cc3,_0x47ff4){_0x4e7cc3=_0x4e7cc3-0x0;var _0x42e46d=_0x6719[_0x4e7cc3];return _0x42e46d;};'use strict';var _=require(_0x9671('0x0'));var util=require(_0x9671('0x1'));var logger=require(_0x9671('0x2'))(_0x9671('0x3'));var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0x9671('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0x9671('0x5'));var config=require(_0x9671('0x6'));var attributes=require(_0x9671('0x7'));module[_0x9671('0x8')]=function(_0xcd01df,_0x5e536c){return _0xcd01df[_0x9671('0x9')]('VoiceCallReport',attributes,{'tableName':_0x9671('0xa'),'paranoid':![],'indexes':[{'fields':[_0x9671('0xb')]}],'timestamps':!![]});};