9da6630ffc539f05691d637811db790cd8b3d29b
[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 _0xa1ee=['util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','VoiceCallReport','report_call','uniqueid'];(function(_0x53ccf2,_0x13cb67){var _0x5a2964=function(_0x3b0514){while(--_0x3b0514){_0x53ccf2['push'](_0x53ccf2['shift']());}};_0x5a2964(++_0x13cb67);}(_0xa1ee,0x6c));var _0xea1e=function(_0x569fef,_0x49c37a){_0x569fef=_0x569fef-0x0;var _0x11f20b=_0xa1ee[_0x569fef];return _0x11f20b;};'use strict';var _=require('lodash');var util=require(_0xea1e('0x0'));var logger=require(_0xea1e('0x1'))(_0xea1e('0x2'));var moment=require(_0xea1e('0x3'));var BPromise=require(_0xea1e('0x4'));var rp=require(_0xea1e('0x5'));var fs=require('fs');var path=require(_0xea1e('0x6'));var rimraf=require(_0xea1e('0x7'));var config=require(_0xea1e('0x8'));var attributes=require('./voiceCallReport.attributes');module['exports']=function(_0x4579c3,_0x3f971d){return _0x4579c3['define'](_0xea1e('0x9'),attributes,{'tableName':_0xea1e('0xa'),'paranoid':![],'indexes':[{'fields':[_0xea1e('0xb')]}],'timestamps':!![]});};