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 _0x8068=['api','moment','bluebird','request-promise','rimraf','../../config/environment','./voiceCallReport.attributes','exports','define','VoiceCallReport','report_call','uniqueid','lodash','../../config/logger'];(function(_0x55c260,_0x4d0d2b){var _0x1fb051=function(_0x1c4401){while(--_0x1c4401){_0x55c260['push'](_0x55c260['shift']());}};_0x1fb051(++_0x4d0d2b);}(_0x8068,0xec));var _0x8806=function(_0x3713e2,_0x381fd6){_0x3713e2=_0x3713e2-0x0;var _0x4e81d8=_0x8068[_0x3713e2];return _0x4e81d8;};'use strict';var _=require(_0x8806('0x0'));var util=require('util');var logger=require(_0x8806('0x1'))(_0x8806('0x2'));var moment=require(_0x8806('0x3'));var BPromise=require(_0x8806('0x4'));var rp=require(_0x8806('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0x8806('0x6'));var config=require(_0x8806('0x7'));var attributes=require(_0x8806('0x8'));module[_0x8806('0x9')]=function(_0x2fe87e,_0xa58a44){return _0x2fe87e[_0x8806('0xa')](_0x8806('0xb'),attributes,{'tableName':_0x8806('0xc'),'paranoid':![],'indexes':[{'fields':[_0x8806('0xd')]}],'timestamps':!![]});};