Built motion from commit (unavailable).|2.4.4
[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 _0x93e2=['bluebird','request-promise','path','rimraf','../../config/environment','exports','define','VoiceCallReport','report_call','uniqueid','util','../../config/logger','api','moment'];(function(_0x53bca7,_0x35bfdf){var _0x50d7b8=function(_0x5b04d5){while(--_0x5b04d5){_0x53bca7['push'](_0x53bca7['shift']());}};_0x50d7b8(++_0x35bfdf);}(_0x93e2,0x106));var _0x293e=function(_0x19cd1e,_0x15b6f3){_0x19cd1e=_0x19cd1e-0x0;var _0x1c0cbd=_0x93e2[_0x19cd1e];return _0x1c0cbd;};'use strict';var _=require('lodash');var util=require(_0x293e('0x0'));var logger=require(_0x293e('0x1'))(_0x293e('0x2'));var moment=require(_0x293e('0x3'));var BPromise=require(_0x293e('0x4'));var rp=require(_0x293e('0x5'));var fs=require('fs');var path=require(_0x293e('0x6'));var rimraf=require(_0x293e('0x7'));var config=require(_0x293e('0x8'));var attributes=require('./voiceCallReport.attributes');module[_0x293e('0x9')]=function(_0x1b1418,_0x3846e4){return _0x1b1418[_0x293e('0xa')](_0x293e('0xb'),attributes,{'tableName':_0x293e('0xc'),'paranoid':![],'indexes':[{'fields':[_0x293e('0xd')]}],'timestamps':!![]});};