Built motion from commit (unavailable).|2.2.0
[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 _0xd328=['define','VoiceCallReport','util','../../config/logger','api','bluebird','./voiceCallReport.attributes','exports'];(function(_0x4aeb6e,_0x3bdd91){var _0xece228=function(_0x5d648a){while(--_0x5d648a){_0x4aeb6e['push'](_0x4aeb6e['shift']());}};_0xece228(++_0x3bdd91);}(_0xd328,0x162));var _0x8d32=function(_0x24c63d,_0x2e27a5){_0x24c63d=_0x24c63d-0x0;var _0x34c06f=_0xd328[_0x24c63d];return _0x34c06f;};'use strict';var _=require('lodash');var util=require(_0x8d32('0x0'));var logger=require(_0x8d32('0x1'))(_0x8d32('0x2'));var moment=require('moment');var BPromise=require(_0x8d32('0x3'));var rp=require('request-promise');var attributes=require(_0x8d32('0x4'));module[_0x8d32('0x5')]=function(_0x5bf4e9,_0x3f3436){return _0x5bf4e9[_0x8d32('0x6')](_0x8d32('0x7'),attributes,{'tableName':'report_call','paranoid':![],'indexes':[],'timestamps':!![]});};