Built motion from commit (unavailable).|2.4.18
[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 _0x34bc=['VoiceCallReport','uniqueid','lodash','util','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','exports'];(function(_0x5c1e0b,_0x2275de){var _0x3b8d21=function(_0x3b78ed){while(--_0x3b78ed){_0x5c1e0b['push'](_0x5c1e0b['shift']());}};_0x3b8d21(++_0x2275de);}(_0x34bc,0xf2));var _0xc34b=function(_0xd91819,_0x55f238){_0xd91819=_0xd91819-0x0;var _0x4d97dd=_0x34bc[_0xd91819];return _0x4d97dd;};'use strict';var _=require(_0xc34b('0x0'));var util=require(_0xc34b('0x1'));var logger=require('../../config/logger')(_0xc34b('0x2'));var moment=require(_0xc34b('0x3'));var BPromise=require(_0xc34b('0x4'));var rp=require(_0xc34b('0x5'));var fs=require('fs');var path=require(_0xc34b('0x6'));var rimraf=require(_0xc34b('0x7'));var config=require(_0xc34b('0x8'));var attributes=require('./voiceCallReport.attributes');module[_0xc34b('0x9')]=function(_0x3327fe,_0x54ad1e){return _0x3327fe['define'](_0xc34b('0xa'),attributes,{'tableName':'report_call','paranoid':![],'indexes':[{'fields':[_0xc34b('0xb')]}],'timestamps':!![]});};