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 _0x91fd=['request-promise','path','rimraf','./voiceCallReport.attributes','exports','define','VoiceCallReport','uniqueid','lodash','util','../../config/logger','api'];(function(_0x349367,_0x1cede2){var _0x14179b=function(_0x38a191){while(--_0x38a191){_0x349367['push'](_0x349367['shift']());}};_0x14179b(++_0x1cede2);}(_0x91fd,0x1c4));var _0xd91f=function(_0x56ab6b,_0x279f63){_0x56ab6b=_0x56ab6b-0x0;var _0x379d99=_0x91fd[_0x56ab6b];return _0x379d99;};'use strict';var _=require(_0xd91f('0x0'));var util=require(_0xd91f('0x1'));var logger=require(_0xd91f('0x2'))(_0xd91f('0x3'));var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0xd91f('0x4'));var fs=require('fs');var path=require(_0xd91f('0x5'));var rimraf=require(_0xd91f('0x6'));var config=require('../../config/environment');var attributes=require(_0xd91f('0x7'));module[_0xd91f('0x8')]=function(_0x1b848c,_0xe41802){return _0x1b848c[_0xd91f('0x9')](_0xd91f('0xa'),attributes,{'tableName':'report_call','paranoid':![],'indexes':[{'fields':[_0xd91f('0xb')]}],'timestamps':!![]});};